Incoming FTP directory config
I guess this task is quite usual, however, I've never done this before, and had to do some googling to make it work as I wanted.
Requirements:
- user public should be able to create new files and subdirs under /home/joe/incoming/
- only joe and nobody else should be able to read the contents of, rename and delete from /home/joe/incoming
After some finetuning, the addition to proftpd.conf is the following:
<Directory /home/joe/incoming>Also, user joe is in the same group as user public.
Umask 002 002
<Limit STOR CWD MKD XMKD>
AllowAll
</Limit>
<Limit READ RMD XRMD DELE SITE_CHMOD RNFR RNTO>
AllowUser joe
DenyAll
</Limit>
</Directory>
Quite a boring post, I admit, but I want to save some time next time I have to do it.

0 Comments:
Post a Comment
<< Home