It's a limitation of the SMB protocol.
Neither chmod nor chown will work over SMB* and attempts to use them fail silently. You need to set owner, group, and file/directory modes at mount time.
Refer to the output from and/or
*: Because it's a windows protocol and windows doesn't support Linux style owner, group, and permissions. What you see on Linux is a fiction created in the driver at mount time.
Neither chmod nor chown will work over SMB* and attempts to use them fail silently. You need to set owner, group, and file/directory modes at mount time.
Refer to the output from
Code:
man mount
Code:
man mount.cifs
*: Because it's a windows protocol and windows doesn't support Linux style owner, group, and permissions. What you see on Linux is a fiction created in the driver at mount time.
Statistics: Posted by thagrol — Thu Mar 20, 2025 2:44 pm