[Samba] File permissions confusion
jimoe at sohnen-moe.com
Mon Apr 11 14:13:10 MDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
samba Version 3.5.4-5.3.1-2489-SUSE-SL11.3
I do not understand why the file permissions of mounted shares are
different when the share is viewed locally and when viewed remotely.
When I initially created a share, for instance with
"//sma-nas-01/photos /v cifs
</etc/fstab>, a long directory listing (ls -l) show ALL permissions as
"775", regardless of the actual permissions as displayed locally. This
was not good, showing everything as executable.
I then added "file_mode=0664,dir_mode=0775" to the mount options and
got reasonable settings for the permissions. They, however, are not the
true settings. Again samba has masked over reality.
Using "chmod" to alter the file permissions does not work. The action
is simply ignored.
Is there a way to have the actual, real, local permissions shown to
And to have the ability to change the permissions remotely?
moe dot james at sohnen-moe dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the samba