[Samba] File permissions and Unix umask.

2008-10-08 Thread Gerry Marthe
Hi, I have a question about file permissions and how they are affected by a client's umask. To illustrate my question, I issued the following commands first on a local ext3 file system and then on a cifs file system: $ umask 0002 $ touch f1 $ echo xx f2 $ umask 0022 $ touch f3 $ echo xx f4 $

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Gerry Marthe
Hi Jeremy, Thanks - that does make sense. Can you tell me then why /bin/touch appears immune to the Samba settings? Gerry. On Wed, 2008-10-08 at 11:48 -0700, Jeremy Allison wrote: On Thu, Oct 09, 2008 at 12:58:41AM +1100, Gerry Marthe wrote: The relevant section from smb.conf

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Gerry Marthe
. On Wed, 2008-10-08 at 17:24 -0700, Jeremy Allison wrote: On Thu, Oct 09, 2008 at 11:18:49AM +1100, Gerry Marthe wrote: Hi Jeremy, Thanks - that does make sense. Can you tell me then why /bin/touch appears immune to the Samba settings? If you can make the CIFS client violate the forced