May 6, 201313 yr Hi, I'm trying to create different users for FTP access to the user share. So far, what I've done, user add USERNAME passwd USERNAME I've also fixed the permissions so I can see the files for directories visibility use: find /mnt/user -type d -exec chmod 755 {} \; and for files within a directory use: find /mnt/user -type f -exec chmod 700 {} \; Now, when I login with the new created user, I'm not locked in the directory but have access to all disk and user share How can I fix that and have all changes (new user, password, file permission and whatever left to be done so it can work) persistent on reboot ? Something else I tried , chroot_list_enable=YES in vsftpd.conf , then created a file /etc/vsftpd.chroot_list and within it USERNAME /mnt/user/SHARE1 (that doesn't work .. I may have to restart the service ... but cannot find how to restart vsftpd ... service command does not exist ...) One last thing, I can "put" a file but when trying to "get" it , I have that message "Failed to open file" ... (was able to fix this temporairly with this command "chmod -R 0755 directoryNameHere" but I need to run that whenever a new file is in there ... ;-( ) Thank you for your help !
May 7, 201313 yr I don't know how to do this with vsftp. But using my ProFTPd plugin, you can jail users to their home directory. You don't need to modify file owners or permissions either. You can setup this all using the stock unraid user config and the ProFTP config editor provided by the plugin. FTP users wont be able to login via ssh. Please read the explanations in the plugin thread and if you have questions I'll try to answer them. As the first post says, its a development release, but for me it runs stable and until now there are no reported errors. SlrG
Archived
This topic is now archived and is closed to further replies.