March 20, 201412 yr 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?
March 20, 201412 yr 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.
March 20, 201412 yr Author 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.
Archived
This topic is now archived and is closed to further replies.