[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [raq2] admin ftp -- can't create directories
- Subject: RE: [cobalt-users] [raq2] admin ftp -- can't create directories
- From: dfd <dfd@xxxxxxxxxxx>
- Date: Thu Apr 6 17:33:02 2000
>> > if i telnet in as admin, and go to /home/sites/site12/web/ and type
>> "mkdir
>> > foo," it succeeds.
>> >
>> > if i ftp in as admin, and go to /home/sites/site12/web/ and type
>> > "mkdir foo,"
>> > it fails. (550 permission denied.)
I believe this is an issue with proftpd, it could be viewed as a bug or by
design a feature. Via telnet, you're able to make the directory since one
of your secondary groups matches the group privlage of the directory and
has write permission for that group, and the mkdir shell command goes
through some more steps than just calling the C mkdir() function. proftpd
directly calls that function which by default makes the directory with the
current userid/groupid (the primary group id in this case) which would not
have permissions to make a directory, it needs those alternate groups in
there to be able to do it.
>> admin can't me a member of more than, (I think), 32 groups. It's a Linux
>> thing.
It's not a linux issue. Linux will be perfectly content with a whole lot
of groups, it's a proftpd issue. There is a bug entry at
http://bugs.proftpd.net/show_bug.cgi?id=40 with more information, but it
hasnt made it into proftpd yet apparently because it's not the proper
implementation of the fix.
- Dave