Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folder/File Permissions

Featured Replies

My primary use of unRaid, is for Plex, and one of my Plex uses is as a DVR.  So whenever Plex records something new it creates a new folder to put it in.

Somewhere along the line Plex started limiting everyone but the "owner" to read access when it creates a folder.  I believe this MAY have coincided with the time I turned on the ability to delete files within plex, but not totally sure about that.  

The trouble is, the "owner" for plex is a user called "nobody" which doesnt actually exist except from Plex, so I can't actually manually move or deleted files/folders that were created by the Plex DVR.  I have included snips of those folder permission as they appear to me for information.  There is no user called "nobody" in my unraid user settings.

 

So two fundamental questions.

 

1.  How do you globally reset user permissions on a given drive or folder or share within unraid.  All my DVR goes to one specific drive so if I could push down an update of user permissions it would solve the current issue.

 

2. Is there a way inside Plex (on unraid) to change the assigned username?  (I will probably ask this one in a more plex specific form as well).  If it used my username for example than this would not be a problem.

 

Thanks for any help.

 

These are permissions for a recently created folder by Plex.    When I try to modify the permissions from my windows machine it denies access.

image.png.88ddb54a673a6f610ca3a4dbdd71571a.png

 

These are properties for a folder that has been on the server for a long time.  I have no idea how "nobody" was created as a user, but control is not limited.

image.png.99bb8fa2886a770411da29854d36485d.png

Solved by itimpi

  • Community Expert

It is standard for files/folders on Unraid to belong to nobody/users.   This is not defined in the GUI but does exist at the Linux level for Unraid internal use.

  • Author
2 hours ago, itimpi said:

It is standard for files/folders on Unraid to belong to nobody/users.   This is not defined in the GUI but does exist at the Linux level for Unraid internal use.

 OK,  but the problem is that only "nobody" has access to modify those files/folders.  I don't have a userID of nobody to access with

 

Where it shows that only "nobody" has read/write access, I can't create or delete anything.

Where it shows that "Everyone has read/write access, I can delete, create folders etc..

 

How do I change the permissions

  • Community Expert
  • Solution
9 minutes ago, TODDLT said:

 OK,  but the problem is that only "nobody" has access to modify those files/folders.  I don't have a userID of nobody to access with

 

Where it shows that only "nobody" has read/write access, I can't create or delete anything.

Where it shows that "Everyone has read/write access, I can delete, create folders etc..

 

How do I change the permissions

If the permissions are wrong you need to look at how the files were created that way.    It is not unusual for docker containers that create files to not be configured correctly to set the right permissions.

 

You can use Tools->New permissions to reset permissions to Unraid defaults.   This should not be run against the appdata share as that can cause problems as many containers have specific requirements around permissions.

 

you can also use the Dynamix File Manager (available for recent Unraid releases) to manipulate files from the GUI regardless of permissions.

  • Author
2 minutes ago, itimpi said:

If the permissions are wrong you need to look at how the files were created that way.    It is not unusual for docker containers that create files to not be configured correctly to set the right permissions.

 

You can use Tools->New permissions to reset permissions to Unraid defaults.   This should not be run against the appdata share as that can cause problems as many containers have specific requirements around permissions.

 

you can also use the Dynamix File Manager (available for recent Unraid releases) to manipulate files from the GUI regardless of permissions.

Thanks,

 

I actually just found "docker safe new permissions" and ran it.  Appears to have worked.

 

I will post a message specific to Plex and see if anyone knows how to modify settings on how it sets up permissions for DVR recordings.  I am clear that it is only folders created by the DVR that have this permission issue.  I believe it has to do with the below setting in Plex.  This allows you to delete a file from inside the plex GUI, but from the note underneath I am guessing that it is adjusting access permissions when the save to location is created by Plex (and this only happens with the DVR).

image.png.031dbdf860eb3c78d3535002c71a27d1.png

 

 

Thanks for the time.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.