vsftpd read-only/write per user.
Hi,
How can I set specific users to have either read-only access under vsftpd or both read and write? The vsftpd.conf file only has write_enable=YES/NO, which seems to apply to all users regardless. Regular Linux file permissions don't seem to work either as if I use chmod a-w * as root, the FTP user is still able to delete the file. Any help? Thanks. |
Hi.
To stop file deletions from a directory, remove write permission from the directory itself - normal Linux permissions should work OK for vsftpd. Dave |
Hi
I have a question on vsftpd, While setting the below settings (vsftpd.conf) write_enable=YES listen=YES anonymous_enable=NO local_enable=YES virtual_use_local_privs=YES write_enable=YES connect_from_port_20=YES secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd guest_enable=YES user_sub_token=$USER local_root=/opt/ftpimages/teamf/$USER chroot_local_user=YES chroot_list_enable=YES hide_ids=YES userlist_enable=NO But, while using FileZilla clinet still I can able to go to other directories like "/, /etc/, /boot" and could even transfer the file to my PC? Can you advise is there any setting is wrong? Thanks, -Sylvester |
All times are GMT -5. The time now is 03:55 AM. |