TallMan206 Posted February 17, 2021 Share Posted February 17, 2021 (edited) 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 February 17, 2021 by TallMan206 added zip with syslog Quote Link to comment
itimpi Posted February 17, 2021 Share Posted February 17, 2021 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. Quote Link to comment
TallMan206 Posted February 18, 2021 Author Share Posted February 18, 2021 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 Quote Link to comment
itimpi Posted February 18, 2021 Share Posted February 18, 2021 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. Quote Link to comment
TallMan206 Posted February 19, 2021 Author Share Posted February 19, 2021 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. Quote Link to comment
TallMan206 Posted February 19, 2021 Author Share Posted February 19, 2021 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 Quote Link to comment
ChatNoir Posted February 19, 2021 Share Posted February 19, 2021 How are you copying the files ? (from SMB, a Docker, Midnight Commander, etc.) Quote Link to comment
itimpi Posted February 19, 2021 Share Posted February 19, 2021 1 hour ago, TallMan206 said: This happened while copying files: In which case whatever was doing the copy is almost certainly the culprit. Quote Link to comment
TallMan206 Posted February 19, 2021 Author Share Posted February 19, 2021 (edited) 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 February 21, 2021 by TallMan206 Quote Link to comment
TallMan206 Posted February 21, 2021 Author Share Posted February 21, 2021 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 Quote Link to comment
TallMan206 Posted February 22, 2021 Author Share Posted February 22, 2021 I even tried this: This to remove ACL. That does not have any effect. Someone an idea of what could cause my strange issues? Quote Link to comment
ChatNoir Posted February 22, 2021 Share Posted February 22, 2021 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. 1 Quote Link to comment
TallMan206 Posted February 23, 2021 Author Share Posted February 23, 2021 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. 1 Quote Link to comment
Recommended Posts
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.