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.

Permissions change & prevents me deleting

Featured Replies

Your command

 

chmod -R 0666 *

 

will apply mode 0666 to usershare1 and subfolders as well as files, which is not what you want. Subfolders need the executable flag set.

 

  • Author

Your command

 

chmod -R 0666 *

 

will apply mode 0666 to subfolders as well as files, which is not what you want. Subfolders need the executable flag set.

OK, so I should go for;

 

cd /mnt/user/usershare1

chmod -R 777 *

Well, no. I recommend using the commands I recommended! You don't need to make your media files executable.

 

Please be careful. You're typing powerful commands as the root user without paying much attention. I don't want you to make matters worse.

 

  • Community Expert

You can also use

newperms path-to-folder

to apply the standard unRAID permissions to the specified folder and all its contents.

You can also use

newperms path-to-folder

to apply the standard unRAID permissions to the specified folder and all its contents.

 

By far the safer option!

 

  • Author

This is all getting a little worrying, so the last command I ran was;

 

ind /path/to/folder -type d -print0 | xargs -0 chmod 0777
find /path/to/folder -type f -print0 | xargs -0 chmod 0666

 

I'll see how things work out and hopefully I'll get to the bottom of this!

 

Thanks all!

  • 2 months later...
  • Author

I wanted to update this topic, as I now have a pattern of the problem, but still unsure how to resolve.

 

So I have TV shows and films added to Plex where Plex sits on the different machine and accesses the Plex share. When I finish watching a TV show or film, I delete them through Plex. This is where things get strange. TV show's delete perfectly without any problems, but films don't due to the permission change.

 

Another thing I noticed is that if I don't watch a film in Plex and decide to delete it, it'll delete no problems, but if I watch or start to watch a film, I then lose the ability to delete due to the permissions changing.

 

It's just so odd that it's fine with TV shows whether they've been viewed or not, but it'll only allow me to delete films if I've not viewed them.

 

So it appears that as soon as I watch a film (not TV), something is changing the permission and therefore stopping me deleting it through Plex.

 

Anyone any ideas?

  • 1 year later...

Hey @WannabeMKII - sorry to resurrect a really old thread, but I showed up here as I was also having issues with permissions etc and found great CLI stuff from earlier! 

 

Regarding your last question there, I had a similar problem not long ago where TV shows and movies kept getting bad permission sets.  Turns out for me, it was actually the management apps that were doing it, specifically Sonarr and Radarr.  On both programs under Settings->Media Management->Advanced there is the Permissions section at the bottom. 

 

I was always wary of that section due to the yellow caution flag, but I manually set the permissions as:image.png.5d1d1382858ffabb0f498d084f3840bf.png

 

Happily, all my recurring were solved! 

 

Hope you found an answer to your problem in the last year, but maybe this also helps else that finds this thread down the line.

  • Author

Thanks for thinking of me and writing this post @noja

 

My problem went away when I took the plunge and moved from two separate machines (1x Windows & 1x Unraid) to running everything on 1x Unraid.

 

Hopefully it doesn't re-occur, but appreciate your feedback!

Archived

This topic is now archived and is closed to further replies.

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.