[Zope] Re: zopectl debug, 2.8.0 local zeo,
Data.fs.lock file locking error
Jeff Kowalczyk
jtk at yahoo.com
Mon Jul 4 17:38:32 EDT 2005
Chris McDonough wrote:
> File permissions. The user who is the effective user does not have
> permission to overwrite the Data.fs.lock file.
>
>> effective-user zope
>> # /var/lib/zope/zope-2.8.0/var $ ls -al
>> drwxr-xr-x 3 zope zope 336 Jul 4 14:59 .
>> drwxr-xr-x 9 root root 280 Jun 25 03:08 ..
>> -rw-r--r-- 1 zope zope 4849715 Jul 4 14:59 Data.fs
>> -rw-r--r-- 1 zope zope 55987 Jul 3 18:05 Data.fs.index
>> -rw-r--r-- 1 zope zope 6 Jul 4 14:59 Data.fs.lock
>> -rw-r--r-- 1 zope zope 4874585 Jul 3 18:04 Data.fs.old
>> -rw-r--r-- 1 zope zope 154247 Jul 4 14:59 Data.fs.tmp
>> -rw-rw-r-- 1 zope zope 299 Jun 25 03:08 README.txt
>> -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.lock
>> -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.pid
>> drwxr-xr-x 2 zope zope 14648 Jul 4 14:08 pts
>> srwx------ 1 root root 0 Jul 4 14:59 zopectlsock
I get a little fuzzy on when the changeover from user root to user zope
happens, but this is the confusing point, and why I originally excerpted
the directory listing: doesn't (effective) user zope already have
read-write on the Data.fs.lock file?
Should I add user root to group zope, or would that defeat the security
purpose of the effective-user? Or can you recommend the correct chmod
setting for this setup, I don't want to 755 the thing into wide-open
access without knowing what I'm doing. Thanks.
More information about the Zope
mailing list