I am running Samba on RH 7.0 over a router. I defined a share as follows: [share1] comment = Share 1 valid users = user1 user2 ... path = /var/www/temp public = no writable = yes create mask = 775 The share works fine however when creating a file on the server it is given 0764 permissions instead of 0775 I played around with the 'create mask' values and finally was able to get 0775 permissions by setting it to 766... Any ideas??? Thanks, Eric Yellin
On Mon, 12 Feb 2001 10:11:32 +0200, you wrote:>[share1] > create mask = 775 > >The share works fine however when creating a file on the server it is >given 0764 permissions instead of 0775 >I played around with the 'create mask' values and finally was able to >get 0775 permissions by setting it to 766..."create mask" sets the limit. "force create mask" sets the mode. use create mask = 775 force create mask = 775 -- giulioo@pobox.com
Thanks to Giulio Orsero for the tip. It was almost the full answer... I used 'force create mode' = 0775 (not 'force create mask') and removed the 'create mask' entry altogether and it now works fine. Eric Yellin> From: Giulio Orsero <giulioo@pobox.com> > To: samba@us5.samba.org > Subject: Re: strange 'create mask' problem > Date: Mon, 12 Feb 2001 09:37:38 +0100 > Organization: nowhere > > On Mon, 12 Feb 2001 10:11:32 +0200, you wrote: > > >[share1] > > create mask = 775 > > > >The share works fine however when creating a file on the server it is > >given 0764 permissions instead of 0775 > >I played around with the 'create mask' values and finally was able to > >get 0775 permissions by setting it to 766... > > "create mask" sets the limit. > "force create mask" sets the mode. > > use > create mask = 775 > force create mask = 775 > > -- > giulioo@pobox.com