danob312 Posted June 5 Posted June 5 Hello Unraid Community, I'm encountering persistent permission issues with the /mnt/user directory on my Unraid server, which is affecting my ability to create directories and manage shares. Despite multiple attempts to resolve the issue, I keep seeing d--------- permissions on /mnt/user, and I am unable to create directories within it. System Details: - Unraid version: [Your Unraid version] - ZFS pool: dob - Disk setup: Using ZFS mirror with two Samsung SSD 990 PRO 2TB drives Steps Taken So Far: 1. Unmount and Remove /mnt/user: ``` umount /mnt/user rm -rf /mnt/user ``` 2. Recreate and Set Permissions: ``` mkdir -p /mnt/user chmod 777 /mnt/user chown nobody:users /mnt/user ``` 3. Remount Using shfs: ``` /usr/local/bin/shfs /mnt/user -disks 2 -o noatime,allow_other -o remember=0 ``` 4. Check Permissions: ``` ls -ld /mnt/user ``` Observations: - After following the above steps, the /mnt/user directory still shows d--------- permissions. - Attempting to create directories under /mnt/user results in "No such file or directory" errors. - Using the newperms tool does not resolve the issue: ``` /usr/local/sbin/newperms /mnt/user ``` Additional Steps Tried: - Restarted Samba and NFS services: ``` /etc/rc.d/rc.samba restart /etc/rc.d/rc.nfsd restart ``` - Verified ZFS pool status: ``` zpool status dob ``` - Rebooted the system: ``` reboot ``` Questions: 1. Are there any additional steps or tools I should use to diagnose and fix this permission issue? 2. Is there a recommended way to reset or reconfigure the /mnt/user directory to ensure it works correctly? 3. Could this issue be related to how Unraid handles user shares and file permissions when created via the command line? Any insights or suggestions would be greatly appreciated! Thank you in advance for your help! Quote
Solution JorgeB Posted June 5 Solution Posted June 5 Unraid creates that folder with the correct permissions at every boot, so possibly you have something mapped to that changing them, like a container. Quote
danob312 Posted June 5 Author Posted June 5 Thank you! turning off docker let me change the permissions. Quote
danob312 Posted June 5 Author Posted June 5 Any idea on how I could find the container causing this? Quote
Kilrah Posted June 5 Posted June 5 (edited) Start with any container to which you gave access to the entirety of /mnt/user (which you would usually never want to do). Nothing should create directories in /mnt/user, those should be created via the shares tab, then you give apps access to directories inside those. Edited June 5 by Kilrah Quote
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.