[Samba] Default file permissions for Mac OSX
jra at samba.org
Fri Jan 28 13:40:26 MST 2011
On Fri, Jan 28, 2011 at 12:13:00AM -0700, James Moe wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> samba Version 3.5.4-5.1.2-2426-SUSE-SL11.3
> We have recently transferred our file services from one host to
> another. The old host was an OS/2 server. OS/2 is basically a single
> user OS; the file (and directory) permissions were mostly irrelevant.
> The new server is linux OS, opensuse 11.3 distribution. It, of course,
> has more to say about file permissions.
> The problem I am seeing is that Windows XP clients that have mounted a
> share on the new server save files with permissions 0755. This is rather
> odd; I would have thought 0644. (A PDF with an executable mode is not
> very useful.) Nevertheless, because the group permission is read-only,
> other users cannot access the files.
> 0755 looks like a typical directory permission. I would prefer to have
> the default file permission be 0664.
> Is there a setting in the server's samba configuration to define the
> default file permissions?
Check out: create mask, directory mask.
More information about the samba