[Setup] setting group permissions to write zope-owned files? (FC5)

Robert Nagle idiotprogrammer at fastmailbox.net
Mon Oct 9 18:57:58 UTC 2006


Hi, I'm trying to  figure out how a user rj2nagle can write/edit files 
inside directories owned by another user zope with group named "zope'. 
I'm using FC5, which apparently employers User Private groups.


/etc/groups
rj2nagle:x:500:rj2nagle
zope:x:101:rj2nagle

If I run usermod -g rj2nagle -G rj2nagle,zope rj2nagle
I would think that it would let me edit files that are group writable. 
But I can't do it.  if i run
[rj2nagle at localhost products]$ groups
rj2nagle

Here are the permissions in the directory i want to write to as rj2nagle:
drwxrwsr-x 2 zope zope 4096 Oct  9 12:29 .
drwxr-xr-x 7 root root 4096 Oct  9 01:49 ..
-rw-r--r-- 1 zope zope    0 Oct  9 04:33 mine
-rw-rw-r-- 1 zope zope    0 Oct  9 02:39 test
-rw-r--r-- 1 root zope    0 Oct  9 12:29 test2

If rj2nagle is a member of the zope group, you would expect to be able 
to edit the "test"file. But it can't.

I know this is an issue with user private groups. 
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-users-groups-private-groups.html
But I can't figure out what I'm supposed to be doing. Surely I don't 
need to create yet another group that both zope and rj2nagle need to 
belong to?

Call me very confused.


Robert Nagle
Houston, Texas





More information about the Setup mailing list