May 30, 20251 yr All,I'm struggling with file system permissions and the Wife Acceptance Factor is going downhill fast. I have storage set up on unraid with multiple shares that indicate the purpose. The one in question is "pictures", mainly because it is viewed and updated in multiple places.First, I'm running an unraid VM that mounts "pictures" as a 9p filesytem. On that VM, pictures are added/updated.On various Windows clients, "pictures" is mounted via SMB and from there pictures can be added/updated.On the unraid server, files generally show up as owner=nobody, group=users, 766. But not always.On the Windows boxes, I followed the advice posted on these forums and defined smbuser as a user on unraid, then defined that user in the Windows Credentials Manager.I thought this would finally fix the issues, be we still have problems with permissions. If I create file abc from the Windows machine, I get this on the unraid server:-rwxrw-rw- 1 smbuser users 0 May 29 22:05 abcThis seems mostly right I think.From the VM, if I touch file xyz in the pictures directory, I see this from the point of view of the unraid server:-rw-rw-r-- 1 1000 1000 0 May 29 22:01 xyzUser and Group 1000 are undefined AFAIK. And then the permissions exclude write access to Other. Maybe I need to set a umask to get the right permissions? Or an ownership setting to avoid user 1000?Obviously, these differences in ownership/permissions lead to big-time problems. How can I reconcile user 'nobody' with user 'smbuser' and also deal with the VM writing files as user/group 1000? I need to be able to make changes to the pictures from the VM, and also from the Windows machines. With seamless ownership/sharing.Help appreciated.larry Edited May 30, 20251 yr by kennelm typo
May 30, 20251 yr Point of Disclosure. I have never set up a VM under Unraid. Here is a link to a thread for setting thing up for a Docker Container that will be writing to the Unraid array: https://forums.unraid.net/topic/188600-share-permissions-changed-to-owner-99/#comment-1540351Hope this helps!
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.