Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3991

Troubleshooting • Re: mount.cifs mounts share with owner=root, can not chmod

$
0
0
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

Code:

man mount
and/or

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



Viewing all articles
Browse latest Browse all 3991

Trending Articles