new 2.7 redhat rpm and external method permissions
Greetings! I recently installed a new zope 2.7 rpm on redhat. Everything went smooth and zope is running great. I have some external methods that do various tasks throughout the filesystem. In this case, the files are in a particular mysql directory. I have created a group for zope and mysql called "www" and changed ownership of this directory to that group. I can read and write to this directory as the zope user. My external methods fail with invalid permissions. I have verified that the setuid is zope, but I am not positive that zope is actually running under the zope user. How can I set/verify that this is the case? On all of my previous zope installs, I would log in as zope, and do ./start it appears that this convention has changed. Any clues? Thanks in advance! -ed -- EMAIL ed@greengraphics.net VOICE 510.923.0000 FAX 510.923.0001 AIM esc3d
Look for zope.conf in $INSTACE_HOME/etc. You should see something like effective-user. Set that and that should be all. -k Ed Colmar wrote:
Greetings!
I recently installed a new zope 2.7 rpm on redhat. Everything went smooth and zope is running great.
I have some external methods that do various tasks throughout the filesystem. In this case, the files are in a particular mysql directory.
I have created a group for zope and mysql called "www" and changed ownership of this directory to that group.
I can read and write to this directory as the zope user.
My external methods fail with invalid permissions.
I have verified that the setuid is zope, but I am not positive that zope is actually running under the zope user.
How can I set/verify that this is the case?
On all of my previous zope installs, I would log in as zope, and do ./start it appears that this convention has changed.
Any clues?
Thanks in advance!
-ed
Thanks for the reply! effective-user is already set to zope, I restarted just to make sure. No change. In the docs it mentions that this only has an effect when started as user root. Is there a way to tell which user it is starting as in /etc/rc.d/ ? -ed On Tue, 21 Sep 2004, Kalyan Jammigumpula wrote:
Look for zope.conf in $INSTACE_HOME/etc. You should see something like effective-user. Set that and that should be all. -k Ed Colmar wrote:
Greetings!
I recently installed a new zope 2.7 rpm on redhat. Everything went smooth and zope is running great.
I have some external methods that do various tasks throughout the filesystem. In this case, the files are in a particular mysql directory.
I have created a group for zope and mysql called "www" and changed ownership of this directory to that group.
I can read and write to this directory as the zope user.
My external methods fail with invalid permissions.
I have verified that the setuid is zope, but I am not positive that zope is actually running under the zope user.
How can I set/verify that this is the case?
On all of my previous zope installs, I would log in as zope, and do ./start it appears that this convention has changed.
Any clues?
Thanks in advance!
-ed
-- EMAIL ed@greengraphics.net VOICE 510.923.0000 FAX 510.923.0001 AIM esc3d
participants (2)
-
Ed Colmar -
Kalyan Jammigumpula