[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proftpd Q.
Ben-Nes Michael wrote:
>
> Hi
>
> Proftpd Q.
>
> I want that by default in some directories every file which uploaded the
> umask will be (at least) 664 (using umask and i know how to do this).
> But how do I force the group to be specific one ?
I'm not sure you can. Upon logging in, the FTP daemon changes it's
effective user to the user who logged in (or if anonymous, the user/
pass of the anonymous user, e.g. ftp/ftp). User 'ftp' cannot impersonate
as another user later - the session will remain 'ftp' till it closes.
If it's that important to you, run the anonymous access under
the needed group - or maybe put all users who need to access the
files in the 'ftp' group and teach them to 'newgrp' to ftp when
needed. Or maybe run a root cronjob which'll chgrp the files once
in a while.
--
Best regards,
Ilya Konstantinov
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il