January 30, 20179 yr 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.
January 30, 20179 yr 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 *
January 30, 20179 yr Well, no. I recommend using the commands I recommended! You don't need to make your media files executable.
January 30, 20179 yr 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.
January 30, 20179 yr Community Expert You can also use newperms path-to-folder to apply the standard unRAID permissions to the specified folder and all its contents.
January 30, 20179 yr 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!
January 30, 20179 yr 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!
April 19, 20179 yr 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?
August 8, 20187 yr 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: 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.
August 8, 20187 yr 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.