I noticed something interesting... I have a directory on my server that I
shared out through the AppleVolumes.default file. This directory is owned
by root, group ownership is cdlstaff. Permissions for the directory are 775
- read/write for both owner and group, read-only for others. Authenticated
users coming in with a GID other than cdlstaff can still write files to
this directory thorough netatalk:

# ls -l /var/data
total 1
drwxrwxr-x   4 root     cdlstaff     1024 Jul  2 09:40 public

# ls -l /var/data/public
total 75
-rw-rw-r--   1 kweiss   users       57314 Jun  5 13:22 deck
-rw-rw-r--   1 kweiss   users       16896 Jun  5 13:20 deck estimate
-rw-r--r--   1 kweiss   cdlstaff        0 Jul  2 09:28 foo

See? Even though the permissions on the directory shouldn't permit it (and
don't permit it from the Linux command line), Netatalk is creating files
there with group ownership of 'users.' How come?

I'm running netatalk-1.4b2+asun2.1.3 on a freshly minted RedHat 6.0 system
(Linux myhost.domain 2.2.5-15smp #1 SMP Mon Apr 19 22:43:28 EDT 1999 i686
unknown).


--Ken

-------------------------------------------------------------------------
Ken Weiss                                              [EMAIL PROTECTED]
California Digital Library Technologies            (510) 710-3356 (voice)
UC Office of the President                           (510) 763-2471 (fax)
1111 Franklin Street #7313B          [EMAIL PROTECTED] (text page)
Oakland, CA  94607-5200              http://dcas.ucdavis.edu/kenhome.html

Reply via email to