Menu="UNRAID-OS" Title="New Permissions" Icon="icon-permissions" Tag="folder-o" --- $width = [166,300]; function data_disks($disk) { return ( ($disk['type']=='Data' || $disk['type'] == "Cache") && $disk['status']=='DISK_OK'); } ?> :newperms_1_plug: This is a mandatory one-time action to be taken after upgrading from a pre-5.0 Unraid server release to Unraid v5 or a later release. Select **ALL DISKS** when performing this one-time action. This utility is also useful for restoring default ownership/permissions on files and directories when transitioning back from Active Directory to non-Active Directory integration. The utility starts a background process that goes to each of your data disks and cache disks and selected user shares and changes file and directory ownership to *nobody/users* (i.e., uid/gid to 99/100), and sets permissions as follows: :end
:newperms_2_plug: For directories: drwxrwxrwx For read/write files: -rw-rw-rw- For readonly files: -r--r--r-- :end:newperms_3_plug: Clicking **Start** will open another window and start the background process. Closing the window before completion will terminate the background process - so don't do that. This process can take a long time if you have many files. Note that this tool may negatively affect any docker containers if you allow your appdata share to be included. :end