Hi together, after the milestone release of Samba 4.20 supporting again Unix Posix semantics, I'm wondering 'what is the state of chmod support' here (and planned for future releases). Currently, the file permissions are not changeable by the user having mounted the share (ie. by mount_smb). I understand, that this also depends on the capability of the cifs.ko on the Linux client (not to talk about gvfs -- different beast). Anybody recognizes some light at the end of the tunnel? Or maybe, I'm overlooking some important advices? regards. --eh. -- Dr. Erwin Hoffmann | www.fehcom.de PGP key-id: 20FD6E671A94DC1E PGP key-fingerprint: 8C6B 155B 0FDA 64F1 BCCE A6B9 20FD 6E67 1A94 DC1E -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: <http://lists.samba.org/pipermail/samba/attachments/20240717/a9550f21/signature.sig>
On Wed, 17 Jul 2024 13:18:54 +0200 Erwin Hoffmann via samba <samba at lists.samba.org> wrote:> Hi together, > > after the milestone release of Samba 4.20 supporting again Unix Posix > semantics, I'm wondering 'what is the state of chmod support' here > (and planned for future releases). > > Currently, the file permissions are not changeable by the user having > mounted the share (ie. by mount_smb). I understand, that this also > depends on the capability of the cifs.ko on the Linux client (not to > talk about gvfs -- different beast).When you mount a share on Linux, the mount is carried out by root, so to change the permissions, you must do it as root or with sudo. This has nothing to do with Samba and everything to do with cifs.ko Having said that, if the computer is domain joined, you can use 'sec=krb5' and 'multiuser', in this scenario, users can change permissions. Rowland