Changing permissions on samba shares

Kernels & Hardware, configuring network, installing services

Changing permissions on samba shares

Postby andy638 » 2018-06-28 20:47


I have a small server running Debian Stretch and some workstations running a mix of Debian Stretch, some Ubuntu and one or two Windows Machines. I'm using Samba to share files from the server and I mount the shares on the Linux workstations using mount.cifs from /etc/fstab

Is it possible with this setup to set and clear Unix file permissions for the files and directories on the shares from the Debian and Ubuntu workstations? I thought that this should be possible with the Samba "UNIX extensions" but I can't figure out how to get it to work. I've tried lots of combinations of options in both the smb.conf file on the server and in the mount options in fstab, but to no avail. I've tried reading some of the samba documentation but not been able to figure it out from that either. Also, I note that says
Note that the CIFS dialect is being deprecated, and that POSIX extensions for the current, and much more secure, version of the protocol family (SMB3.11 dialect) haven been defined.
However, the linked page about POSIX extensions appears to indicate it;s a work in progress and doesn't give clear instructions on how to use it.

So, can anyone suggest a basic configuration which will let me mount samba shares from my Linux workstations and be able to change the permission flags?


Posts: 19
Joined: 2010-01-15 19:15

Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests