Subject: autogroup problems

From: "C. Paul Ferroni" <[email-masked]>
Date: Mon, 03 Jun 1996 16:15:59 -0400

I'm running wu-2.4(1) on Solaris 2.5.  I'm trying to allow an
anonymous user from node dabney.cle.ab.com to access (via group
permissions for group g_dav) info in directory /ftp/dav with the
following permissions:

# ls -l dav
total 40
d---rwx---   2 ftp      g_dav        512 Jun  3 15:51 ./
dr-xr-xr-x  13 root     root         512 Jun  3 11:58 ../
-rw-rw----   1 dav      g_dav       2022 Jun  3 12:19 tae
-rw-rw----   1 dav      g_dav       2022 Jun  3 12:20 tae1
-rw-rw----   1 dav      g_dav       2022 Jun  3 12:22 tae2

My ftpaccess file contains (among other things):

 class   test1   anonymous dabney.cle.ab.com
 autogroup g_dav test1
 upload  /ftp  /dav              yes     dav       g_dav   0660 nodirs
 path-filter  anonymous  /etc/msgs/msg.path ^[-A-Za-z0-9_\.]*$  ^\.  ^-

My group file has an entry for g_dav:

 g_dav::28:dav

...and my passwd file has the following entry for ftp:

 ftp:x:25:25:Anonymous FTP:/ftp:/bin/false

Once connected from dabney.cle.ab.com, if I execute an ftpwho
on the server, it shows that I'm connected in class "test1",
and if I check the ftpd process that's created, it's gid is 28 (g_dav);
but if I attempt to "cd" into dav, or do an "ls", or access it in any
way, I get a permission denied error.  If I change permissions to
770 on the "dav" directory, it works, but anonymous from anywhere
can write/read from the directory.

It appears that even though the gid of the process is set properly,
the group ownership of the directory and its contents are being
ignored?

Can anyone help with this?

Thanks.

-cpf

--
C. Paul Ferroni          Phone: 216-646-4114 (voice)  216-646-3176 (fax)
Systems Specialist           Admin areas: UNIX, WWW, Usenet News, etc.
Allen-Bradley Company, Inc      Email: [email-masked]