man mount.cifs) and kernel log messages (dmesg)Īnd removing the "vers=1.0" flag fixes this error but has the result seen above (loss of all user/group/perm info). Refer to the mount.cifs(8) manual page (e.g. Here is the old fstab entry that was used on the client before the server upgrade: //server/data /data cifs _netdev,username=username,password=password,noexec,noacl,vers=1.0 0 0 What I want is to get the client side to see the same users, groups and permissions that are on the server, for example: server# ls -l /dataĭrwxr-xr-x 2 fred fred 4096 Mar 29 14:07 directory-aĭrwxr-xr-x 2 barney barney 4096 Feb 13 16:43 directory-bĭrwxrwxr-x 2 fred users 4096 Feb 13 16:43 sharedĪll user and group accounts exist and have identical UIDs and GUIs on both systems (as I said above, this all worked fine before). On the client, ls -l shows everything owned by root/root: # mount.cifs //server/data /data -o username=username,password=passwordĭrwxr-xr-x 2 root root 0 Mar 29 14:07 directory-aĭrwxr-xr-x 2 root root 0 Feb 13 16:43 directory-bĭrwxr-xr-x 2 root root 0 Feb 13 16:43 shared I have an Ubuntu 20.04 server running smbd and sharing a /data volume, and an Ubuntu 20.04 client mounting that share with mount.cifs. But after an OS upgrade on the server, which upgraded samba to Version 4.13.17-Ubuntu, this is apparently no longer supported.Īlso note that there is NO Windows involved in this - I am only dealing with linux user, group and permission information. Before I begin I should note that what I'm asking for was working perfectly with the "vers=1.0" flag added to mount.cifs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |