Posted July 17, 2024Jul 17 What are the correct permissions for /mnt/user? I've fixed my issue by setting a+x on '/mnt/user' but want to check what it's supposed to be. I started being unable to connect to any smb shares; getting a "chdir_current_service: vfs_ChDir(/mnt/user/test) failed: Permission denied." error. Docker and VM are shutdown. I rebooted multiple times and ran fix permissions and dockersafe fix permissions. My user folder was: drwx------ 1 999 users 296 Jul 17 08:35 user/ Now changed to this and I can connect with SMB again. drwx--x--x 1 999 users 296 Jul 17 08:35 user/
July 17, 2024Jul 17 Solution Correct permissions are: drwxrwxrwx 1 nobody users 4 Jul 4 08:54 user/ You can fix them with chmod 777 /mnt/user
July 17, 2024Jul 17 Author 27 minutes ago, JorgeB said: Correct permissions are: drwxrwxrwx 1 nobody users 4 Jul 4 08:54 user/ Awesome, thanks. I'm surprised they weren't fixed at reboot or by fix permissions... unless something else is messing with them. I'll have to reboot again and see if the fixed perms stay.
July 17, 2024Jul 17 Just now, carlel said: Awesome, thanks. I'm surprised they weren't fixed at reboot or by fix permissions... unless something else is messing with them. I'll have to reboot again and see if the fixed perms stay. If they are not after a reboot then you have something changing them.
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.