No chown or chmod on samba mounts
Last modified on July 24, 2026 • 1 min read • 44 wordsI figured out (hopefully correctly) that owner, group and accession rights to files and directories on an smbmount are not changeable, not even by root.
sudo mount -t smbfs -o username=jeltsch,credentials=/home/jeltsch/.smbpasswd5 -o uid=backuppc,gid=users,fmask=644,dmask=755 //patolmac217/jeltsch /mnt/jeltsch@patolmac217.hi.helsinki.fi