Re: [Samba] Default file permissions for Mac OSX

2011-01-28 Thread Jeremy Allison
On Fri, Jan 28, 2011 at 12:13:00AM -0700, James Moe wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
>   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?

man smb.conf

Check out: create mask, directory mask.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Default file permissions for Mac OSX

2011-01-27 Thread James Moe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
  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?

We have a iMac running OSX 10.6.

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1CbHwACgkQzTcr8Prq0ZOhsgCfZSZ9vfMpIDleYQw6akrF1J/C
raAAni/fVK3HsYUtZ7PTqt+yQL3ZiVd+
=Uc1v
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba