Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FTP access / multiple users / restrict access

Featured Replies

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 !

I'm looking to do the exact same thing as well... can anyone help?

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.