JRascagneres Posted June 3, 2023 Share Posted June 3, 2023 So... I have two users: "windowspc" and "homeserver1" they both have read/write access to my "main-array" share. I connect with my ubuntu server with the following /etc/fstab entry: //192.168.4.24/main-array /mnt/storage-server-01 cifs vers=3.0,rw,_netdev,noserverino,credentials=/etc/storage-server-creds,file_mode=0666,dir_mode=0777 0 0 I create a folder on my server using the above. Its connected with "homeserver1". When doing "ls -al" on the unraid server I see I made: drwxrwx---+ 1 homeserver1 users 6 Jun 4 00:28 test/ This clearly means that when I try to view the folder on a network mount from my windows machine, which is connected with the "windowspc" user I don't have the ability to read that folder. Any ideas? TIA Quote Link to comment
Frank1940 Posted June 4, 2023 Share Posted June 4, 2023 Try running the New Permissions script ( Tools >>> New Permissions ) on just the share 'main-array' and see if that fixes the problem. The permissions of drwxrwx---+ are an indication that ACL (access control list) permissions have been set on that directory. See here: https://www.linuxquestions.org/questions/linux-newbie-8/what-is-in-drwxrwxrwx-915243/ I am not a Linux user but I suspect that something you have set up in the fstab entry for this share is responsible for this. (You might want to dumb down your SMB controls as a start. Allow Unraid to manage directory and file creation permissions.) Quote Link to comment
JRascagneres Posted June 4, 2023 Author Share Posted June 4, 2023 25 minutes ago, Frank1940 said: Try running the New Permissions script ( Tools >>> New Permissions ) on just the share 'main-array' and see if that fixes the problem. The permissions of drwxrwx---+ are an indication that ACL (access control list) permissions have been set on that directory. See here: https://www.linuxquestions.org/questions/linux-newbie-8/what-is-in-drwxrwxrwx-915243/ I am not a Linux user but I suspect that something you have set up in the fstab entry for this share is responsible for this. (You might want to dumb down your SMB controls as a start. Allow Unraid to manage directory and file creation permissions.) Thanks for your response. The new permissions script fixes the already created directories but when I end up creating another directory the directory has the same issue. I thought the ACL was interesting but the same happens when I create a directory from a windows machine too so I don't think its my fstab entry? I have removed the dir_mode and file_mode with no success. Quote Link to comment
Frank1940 Posted June 4, 2023 Share Posted June 4, 2023 52 minutes ago, JRascagneres said: thought the ACL was interesting but the same happens when I create a directory from a windows machine Are you using Active Directory? (I understand this can do some ACL permissions...) Quote Link to comment
JRascagneres Posted June 4, 2023 Author Share Posted June 4, 2023 1 minute ago, Frank1940 said: Are you using Active Directory? (I understand this can do some ACL permissions...) Are you referring to this setting? If so no... Otherwise I'm not intentionally using active directory? Quote Link to comment
TimTheSettler Posted June 4, 2023 Share Posted June 4, 2023 Add the following to your SMB settings. https://forums.unraid.net/topic/84988-smb-settings-to-force-nobodyusers/ Quote Link to comment
Recommended Posts
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.