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 permissions change out of nowhere

Featured Replies

Hi all,

 

Since 2 weeks I have 2 new NVME drives for cache (all system is BTRFS). I reinstalled my Docker machines like Plex and Sabnzbd. 

Also since a while I have issues that I am not able to access my folders on my Unraid anymore (from Windows 10). When I check my folder permissions in the CLI on Unraid, I notice it has changed the permission. I need to chmod 777 the folders again to gain access.

 

What could cause this strange behavior of folder getting inaccessible out of nowhere?

 

Thanks.

unraid-syslog-20210217-1046.zip

Edited by TallMan206
added zip with syslog

  • Community Expert

What are the paths for the problem files/folders and what owner and permissions are they being changed to?  I would suspect it is one of your docker containers doing this.

  • Author

Hi,

 

/mnt/user/NAS/

under NAS I have the following folders: 

Backups

Data

Downloads

Media

Rips

 

Most of the time is was Media and Downloads changing (that is where SAB and Plex are working/looking in) but I also noticed Data changing. 

Actually I think it has to do with the Sandisk Pro 500GB NVME drives getting too warm. I have cooling on them now and now I can work on my system without issues, while otherwise the folder permissions were changed by now.

 

I'll keep you posted. Maybe i'm just lucky now and the issues comes back.

 

Regards

  • Community Expert

You did not mention what the owner and permissions were changing to.     There is no way they should change without an application actually changing them.   Using the ‘ls -l’ command might provide more information.

  • Author

At this moment there are no changed folders so I don't know which permissions the have after the change. As I said, I'll let you know as soon as I see this behavior again.

 

Thanks for your understanding.

  • Author

Ok,

 

This happened while copying files:

 

drwxrwx---+ 1 nobody users  84 Feb 19 10:55 Audio-DVD's/
drwxrwxrwx+ 1 nobody users 100 Feb 18 14:09 Films/
drwxrwxrwx  1 nobody users  18 Jan 26  2020 Foto's/
drwxrwxrwx  1 nobody users 110 Dec  8 15:35 Muziek/
drwxrwxrwx  1 nobody users 392 Feb 10 14:56 TV-Series/

 

As seen above, Audio-DVD's changed while copying files. I cannot access the folder anymore. 

It changed from 777 to drwxrwx---+

 

Thanks

How are you copying the files ? (from SMB, a Docker, Midnight Commander, etc.)

  • Community Expert
1 hour ago, TallMan206 said:

This happened while copying files:

 

In which case whatever was doing the copy is almost certainly the culprit.

  • Author

I thought maybe Teracopy on WIndows is causing the issue. It seems my Sandisk 500GB Pro NVME drive causing permission issues. I removed the NVME drives as cache for my Unraid, and now it doesn't have those issues anymore.

 

What could cause the NVME drives to act this strange? It are 2 drives, BTRFS filesystem.

Edited by TallMan206

  • Author

Hi,

 

I also tried without the cache drives and the issue still persists. 

 

Even when just BROWSING folders on my Unraid NAS the permissions change out of nowhere

 

  • Author

I even tried this: 

This to remove ACL. That does not have any effect. 

Someone an idea of what could cause my strange issues?

 

 

I agree with itimpi, there is something changing the permission. Maybe even something outside of the server.

Your first goal shall be to find what is doing this.

 

Since your first attempts were not successful, in your situation, I would deactivate every plugin, script, docker and VM and let the system it run for a time as a basic NAS.

 

If the issue persists, either something is misconfigured on the base of Unraid or something outside of the server is accessing files and changing their permission.

If the issue is not present then, add one element at a time, let it run, check for changes and continue until you find the element that causes the issue.

  • Author

I used setfacl -Rb /mnt/user to have all ACL removed. I did use New Permissions in Unraid Tool. Now my machine likes to be behaving normally again.

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.