You are not logged in.
How can I set read only access rights for user when he logs in through FTP? I'm using vsftpd.
Last edited by kdemon (2008-12-26 20:21:12)
Offline
Add "write_enable=NO" to /etc/vsftpd.conf (I think it's the default setting actually, so if you just leave the line "write_enable=YES" commented, it should have the same effect).
You can also set read-only permissions with chmod (directories need to be executable though).
See "man vsftpd.conf" for more information.
*edit*
I've just checked and it is the default setting, so as long as you don't add the line "write_enable=YES" to vsftpd.conf, users won't have write permissions
Last edited by Xyne (2008-12-26 20:05:32)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks, I missed "write_enable" line out.
Offline