December 2, 20214 yr Hey guys, I've been pulling my hair out for a couple hours over this, and I don't know where else to turn. I've searched these forums, reddit, google, and I'm unable to find any solution to my problem. I have an Unraid NAS, which has shares: Downloads, Music, Movies, TV. All of these shares are exported over SMB, with private access. I have mounted these shares on my ubuntu server through the fstab file using my users credentials. I have also chown'd the mount point recursively for my docker servers user, and have full ownership over the folder, but am unable to delete any folders within the share. I've tried fixing the permission with "Fix Common Problems" plugin, excluding appdata, and that worked for a moment, but it's back to permission errors. I am getting permission errors both from the host and the docker containers running on that host, running under the same user that has ownership on the folders. my fstab looks like this: //192.168.x.x/Movies /Media/Movies cifs username={username},password={password},uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix 0 0 //192.168.x.x/TV /Media/TV cifs username={username},password={password},uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix 0 0 //192.168.x.x/Music /Media/Music cifs username={username},password={password},uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix 0 0 //192.168.x.x/Duplicati /Backup cifs username={username},password={password},uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix 0 0 //192.168.x.x/Downloads /Media/Downloads cifs username={username},password={username},uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix 0 0 And when I "ls -la" on the folder, my permissions are as follows for the user it should be accessible by (sun): drwxrwxrwx 2 sun sun 0 Dec 1 20:02 . drwxrwxrwx 2 sun sun 0 May 31 2021 .. -rwxrwxrwx 1 sun sun 6148 Sep 19 10:53 .DS_Store -rwxrwxrwx 1 sun sun 4096 May 30 2021 ._.DS_Store drwxrwxrwx 2 sun sun 0 Jun 20 2015 {directory} drwxrwxrwx 2 sun sun 0 Jun 20 2015 {directory} drwxrwxrwx 2 sun sun 0 Dec 1 20:02 {directory} drwxrwxrwx 2 sun sun 0 Dec 1 19:13 {directory} drwxrwxrwx 2 sun sun 0 Oct 18 2019 {directory} drwxrwxrwx 2 sun sun 0 Dec 1 19:25 {directory} drwxrwxrwx 2 sun sun 0 Dec 1 19:25 {directory} but if i try to remove a file with "sudo rm -R {directory}" i get this error: rm: cannot remove {file}: Permission denied rm: cannot remove {file}: Permission denied rm: cannot remove {directory}: Permission denied rm: cannot remove {directory}: Permission denied rm: cannot remove {directory}: Permission denied This didn't used to be an issue, and I'm at a loss for what else I can try. I have also tried setting the share to public access, and not needing a user account and rebooting, But that didn't work either. I suspect this has something to do on the unraid side of things. I am available to provide whatever else might be needed. Thanks! Edited December 2, 20214 yr by Vynro Added more details
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.