Quote:
Originally Posted by kevf1
<Directory /ftproot/pubftp/client1>
HideNoAccess on
<Limit DIR READ WRITE>
AllowUser client1
DenyAll
</Limit>
<Limit DIRS READ WRITE >
AllowUser admin
DenyALL
</limit>
</Directory>
|
Is it OK you have the section <Limit DIRS READ WRITE > mentioned twice here?? Oh, and how about the space in "WRITE >"? I mean, some of those programs cannot do the guessing and take the syntax quite literally; so it may get confused as to which of your duplicate <Limit> directives it should obey.
I guess, you can do the above directive like this:
<Limit DIR READ WRITE>
AllowUser client1
AllowUser admin
DenyAll
</Limit>
At least, this is the recommended way of doing it...
Meantime I must admit, that I'm myself having problems with ProFTPd: in spite of my <Limit> stuff I still can't achieve my goal, which is to allow clients to STORE to the upload directory, but deny DELE. I just can't make it out!
I'm using a special account "ftpuser" for the upload, but it result in the clients' being able both to write AND delete ANY files in /home/ftpuser, despite all my futile <Limit> directives to that <Directory ~ftpuser>.
I'm at my wits' end...