ampranti
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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
As I said, I am using virtual user; so the above doesnt aplly for me :(
ASKER
vsftpd doesnt support this kind of functionality! I moved on to proftpd
ASKER
Do you know If proftpd support that functionality, using virtual users?!
Thank you