Article 5K0J4 samba: multiuser with simple user mapping

samba: multiuser with simple user mapping

by
brainchild
from LinuxQuestions.org on (#5K0J4)
I have a Linux server, and a NAS device from Synology, with matching sets of user names.

From the server, I create a mount through the following command:

Code:sudo mount.cifs //diskstation/usr -ouser=master,multiuser,setuids,idsfromsid /srv/usrThe expectation is that the particular combination of mount options makes the ownership and permissions of files on the mount match those on the server.

In contrast, I observe that all the files are owned by root, and not accessible to regular users.

How may I achieve the desired mapping of ownership and permissions, based on user name?

Note that it is not necessary that permissions on the mount are reported as on the NAS, which uses a non-POSIX ACL system, only that the NAS enforces the permissions of files in the mount according the permissions of the mapped user.

The NAS runs Samba 4.10.18 and the server runs version 4.11.6.

Note that as Synology tries to limit the configurability of server shares, it is preferred to achieve the desired effect with minimal alteration of the NAS configuration.latest?d=yIl2AUoC8zA latest?i=VN9zceOYllg:XPhJTUF6CfM:F7zBnMy latest?i=VN9zceOYllg:XPhJTUF6CfM:V_sGLiP latest?d=qj6IDK7rITs latest?i=VN9zceOYllg:XPhJTUF6CfM:gIN9vFwVN9zceOYllg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments