Link to home
Start Free TrialLog in
Avatar of ampranti
amprantiFlag for Greece

asked on

vsftpd: wite permissions to one directory

Hi all,

I have installed vsftpd with virtual users support.
Is it possible to configure all users to have read access only [ "write_enable=NO" ] and then wirte permissions only to one directory?

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of DonConsolio
DonConsolio
Flag of Austria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ampranti

ASKER

I am using virutal users, so I am afraid I cant do that :(

Do you know If proftpd support that functionality, using virtual users?!

Thank you
Virtual users are mapped to the "guest_username" real user

Just set up permissions like this:

home directory of vuser: owner: root, permissions rwxr-xr-x
read-only directories: owner: root, permissions rwxr-xr-x
files in read-only directories: owner: root, permissions rw-r--r--
read-write directory: owner "guest_username", rwxr-xr-x
proftp: sorry, don't use it, but should work the same way
As I said, I am using virtual user; so the above doesnt aplly for me :(
vsftpd doesnt support this kind of functionality! I moved on to proftpd