mifronte Posted March 20, 2014 Share Posted March 20, 2014 I just upgraded from unRAID 4.7 to 5.0.5. I have a disk that I have been mounting and sharing outside of the array. However, after the upgrade, the permissions may not be correct because I cannot access some directories or files. I think the New Permissions utility ignored this non-array disk. How can I perform the same function on this non-array disk? I have executed the following command on the disk to match that of the New Permissions utility: chown -R nobody:users . Now how would I recursively change the directories to drwxrwxrwx and the files to -rw-rw-rw-? I have also modified the smb-extra.conf file to to set the mask as follows: create mask = 0666 directory mask = 0777 Is this correct for a Public share? Quote Link to comment
Freddie Posted March 20, 2014 Share Posted March 20, 2014 You can run the newperms utility from the command line and specify the directory. For example: newperms /path/to/mounted/drive/ If you are curious, you can also view the newperms script to see the chmod command. Quote Link to comment
mifronte Posted March 20, 2014 Author Share Posted March 20, 2014 Thanks. I did not know there was a newperms script. I will definitely give it a try. Edit: After running the newperms script on the non-array disk, everything appears to be working fine. 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.