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.

Not being able to see files via ftp (vsftpd) on unRaid 4.5

Featured Replies

I apologize is this is obvious, but I couldn't find an answer while searching this forum and google.

 

So I've been running unRAID 4.5 for a week or so now and was manually mapping a drive to copy all of my files which worked great.

 

Since it's been running nicely for me, I decided to look into other things like ftp. vsftpd is installed and running as part of unRaid 4.5. I initially was able to connect but couldn't see any files and did a search on this forum which led me to this thread:

 

http://lime-technology.com/forum/index.php?topic=2138.0

 

Issuing the 2 commands suggested by Joe L. has me seeing the files correctly it appears:

 

find /mnt/user -type d -exec chmod 755 {} \;

find /mnt/user -type f -exec chmod 700 {} \;

 

Sooo...my question is this. If I use Samba and a drive mapping to move files, do I need to run these 2 commands after every copy from my machines? Is there a way to move files via Samba *OR* ftp so that they're visible to each other without any need to run the above commands?

 

I'm confused by the nuances of how copying files via Samba makes it unviewable by FTP as I'm logged in as root on ftp and would think I should be able to see all of the files?

 

Thx!

 

I apologize is this is obvious, but I couldn't find an answer while searching this forum and google.

 

So I've been running unRAID 4.5 for a week or so now and was manually mapping a drive to copy all of my files which worked great.

 

Since it's been running nicely for me, I decided to look into other things like ftp. vsftpd is installed and running as part of unRaid 4.5. I initially was able to connect but couldn't see any files and did a search on this forum which led me to this thread:

 

http://lime-technology.com/forum/index.php?topic=2138.0

 

Issuing the 2 commands suggested by Joe L. has me seeing the files correctly it appears:

 

find /mnt/user -type d -exec chmod 755 {} \;

find /mnt/user -type f -exec chmod 700 {} \;

 

Sooo...my question is this. If I use Samba and a drive mapping to move files, do I need to run these 2 commands after every copy from my machines? Is there a way to move files via Samba *OR* ftp so that they're visible to each other without any need to run the above commands?

 

I'm confused by the nuances of how copying files via Samba makes it unviewable by FTP as I'm logged in as root on ftp and would think I should be able to see all of the files?

 

Thx!

 

This is one of the issues Tom is working through as he deals with the permissions mapping needs of SAMBA, NFS, FTP, and other methods of connectivity.   Expect things to change in the future.  Unfortunately,  his original decisions for SAMBA don't easily lend themselves to the various protocols.   For now, yes, I think you'll need to run the commands.

 

 

  • Author

I apologize is this is obvious, but I couldn't find an answer while searching this forum and google.

 

So I've been running unRAID 4.5 for a week or so now and was manually mapping a drive to copy all of my files which worked great.

 

Since it's been running nicely for me, I decided to look into other things like ftp. vsftpd is installed and running as part of unRaid 4.5. I initially was able to connect but couldn't see any files and did a search on this forum which led me to this thread:

 

http://lime-technology.com/forum/index.php?topic=2138.0

 

Issuing the 2 commands suggested by Joe L. has me seeing the files correctly it appears:

 

find /mnt/user -type d -exec chmod 755 {} \;

find /mnt/user -type f -exec chmod 700 {} \;

 

Sooo...my question is this. If I use Samba and a drive mapping to move files, do I need to run these 2 commands after every copy from my machines? Is there a way to move files via Samba *OR* ftp so that they're visible to each other without any need to run the above commands?

 

I'm confused by the nuances of how copying files via Samba makes it unviewable by FTP as I'm logged in as root on ftp and would think I should be able to see all of the files?

 

Thx!

 

This is one of the issues Tom is working through as he deals with the permissions mapping needs of SAMBA, NFS, FTP, and other methods of connectivity.   Expect things to change in the future.  Unfortunately,  his original decisions for SAMBA don't easily lend themselves to the various protocols.   For now, yes, I think you'll need to run the commands.

 

Thank you. Any idea if this is supposedly part of unRaid 5.x or somewhere further down the road? I haven't found an unRaid roadmap to figure out when things are happening.

There is hope that soon this will change as per his last release notes describing the future 5.0 series of unRAID:

What's next then?  I've already started work on the 5.0 release, with two main goals:

 

1. Redesign of how unRAID manages share and file secruity.  In the beginning, the only protocol supported was SMB (Windows Networking).  Actually the entire design of unRAID OS is optimized to be a NAS in a Windows world.  As a result, and to speed development, unRAID OS relies on Samba for most security purposes.  The problem with this approach is that other protocols, especially AFP and NFS, do not integrate smoothly.  This has turned out to be a big problem & so it will be addressed.

  • 2 years later...

I did run the commands:

find /mnt/user -type d -exec chmod 755 {} \;

find /mnt/user -type f -exec chmod 700 {} \;

 

And it made my subdirectories and files appear in my FTP client.

 

However, after this command I can no longer access files from OSX using Samba. If I try to write a new file I am just prompted for my OSX password and after entering it I am told I don't have permission...

 

EDIT: I am running unRAID v. 5.0b14

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.