proftpd read-only account

webquarry

Verified User
Joined
Mar 19, 2004
Messages
171
Is it possible to create a read-only account? I'm pretty sure that you can't do it via DA but is there a way to limit an account so that it can read it's directory but not modify it?
 
Actually, I should probably be a little clearer with this:

I have a directory that I have made the home of a virtual ftp user. I want that person to have full read/write control over that dir but I want to create other virtual ftp users that home in the same directory but I want those users to have read-only access.

Is that clear?
 
You can do it; proftpd has apache style access/deny restrictions. You'll need to study the documentation.

Jeff
 
Just to add, create .ftpaccess file in /home/username with your own directives and that's it

Interesting. I assume that just like .htaccess files, I can create .ftpaccess deeper down if needed there?

for example: /home/user/some/deeper/dir
 
Yep. Seems to have worked great. I just put:


<Limit WRITE>
AllowUser their_userID
DenyAll
</Limit>


in a .ftpaccess file in the directory in question and it does what they want.
 
Back
Top