Hi All, I am trying to achieve something pretty simple. I have a samba share and I would like all new directories and files within that share to have 775 permissions. My config for that share is below. Whenever I create a dir I get 755 permissions. I have set every force permission their is. Both configs below produced the same directory. I feel like this should be very easy and my settings are correct. I have been managing samba server for years and have never run into this issue before. PLEASE HELP!! Thanks, Shaun ls of newly created dir drwxr-xr-x 2 smartin akaza 48 2009-08-14 16:15 shaun Orig Config: delete readonly = yes writeable = yes path = /shared force directory mode = 0775 force create mode = 0775 comment = Shared Files public = no create mask = 0775 directory mask = 0775 browseable = yes Crazy Config setting every force option: delete readonly = yes writeable = yes path = /shared force directory mode = 0775 force create mode = 0775 comment = Shared Files public = no create mask = 0775 directory mask = 0775 force directory security mask = 0775 directory security mask = 0775 force security mode = 775 security mask = 0755 browseable = yes
On Fri, Aug 14, 2009 at 04:22:22PM -0400, Shaun Martin wrote:> Hi All, > > I am trying to achieve something pretty simple. I have a samba share and I > would like all new directories and files within that share to have 775 > permissions. My config for that share is below. Whenever I create a dir I > get 755 permissions. I have set every force permission their is. Both > configs below produced the same directory. I feel like this should be very > easy and my settings are correct. I have been managing samba server for > years and have never run into this issue before. PLEASE HELP!! > > Thanks, > Shaun > > ls of newly created dir > drwxr-xr-x 2 smartin akaza 48 2009-08-14 16:15 shaun > > > Orig Config: > > delete readonly = yes > writeable = yes > path = /shared > force directory mode = 0775 > force create mode = 0775 > comment = Shared Files > public = no > create mask = 0775 > directory mask = 0775 > browseable = yes > > Crazy Config setting every force option: > > delete readonly = yes > writeable = yes > path = /shared > force directory mode = 0775 > force create mode = 0775 > comment = Shared Files > public = no > create mask = 0775 > directory mask = 0775 > force directory security mask = 0775 > directory security mask = 0775 > force security mode = 775 > security mask = 0755 > browseable = yesThat should work. What version of Samba ? Jeremy.
Hi All, Here is the version number. root at akaza-fs:/usr/local/samba/sbin# ./smbd --version Version 3.2.0 root at akaza-fs:/usr/local/samba/sbin# ./nmbd --version Version 3.2.0 Thanks, Shaun> From: Jeremy Allison <jra at samba.org> > Reply-To: Jeremy Allison <jra at samba.org> > Date: Fri, 14 Aug 2009 14:46:57 -0700 > To: Shaun Martin <smartin at akazaresearch.com> > Cc: <samba at lists.samba.org> > Subject: Re: [Samba] Permission Issues - Email found in subject > > On Fri, Aug 14, 2009 at 04:22:22PM -0400, Shaun Martin wrote: >> Hi All, >> >> I am trying to achieve something pretty simple. I have a samba share and I >> would like all new directories and files within that share to have 775 >> permissions. My config for that share is below. Whenever I create a dir I >> get 755 permissions. I have set every force permission their is. Both >> configs below produced the same directory. I feel like this should be very >> easy and my settings are correct. I have been managing samba server for >> years and have never run into this issue before. PLEASE HELP!! >> >> Thanks, >> Shaun >> >> ls of newly created dir >> drwxr-xr-x 2 smartin akaza 48 2009-08-14 16:15 shaun >> >> >> Orig Config: >> >> delete readonly = yes >> writeable = yes >> path = /shared >> force directory mode = 0775 >> force create mode = 0775 >> comment = Shared Files >> public = no >> create mask = 0775 >> directory mask = 0775 >> browseable = yes >> >> Crazy Config setting every force option: >> >> delete readonly = yes >> writeable = yes >> path = /shared >> force directory mode = 0775 >> force create mode = 0775 >> comment = Shared Files >> public = no >> create mask = 0775 >> directory mask = 0775 >> force directory security mask = 0775 >> directory security mask = 0775 >> force security mode = 775 >> security mask = 0755 >> browseable = yes > > That should work. What version of Samba ? > > Jeremy.
Shaun Martin
2009-Aug-18 12:38 UTC
[Samba] Permission Issues - Email found in subject - Email found in subject
Hi All, Anyone know why I am getting this issue? Thanks, Shaun> From: Shaun Martin <smartin at akazaresearch.com> > Date: Mon, 17 Aug 2009 09:14:40 -0400 > To: Jeremy Allison <jra at samba.org> > Cc: <samba at lists.samba.org> > Subject: Re: [Samba] Permission Issues - Email found in subject - Email found > in subject > > Hi All, > > Here is the version number. > > root at akaza-fs:/usr/local/samba/sbin# ./smbd --version > Version 3.2.0 > root at akaza-fs:/usr/local/samba/sbin# ./nmbd --version > Version 3.2.0 > > Thanks, > Shaun > > > >> From: Jeremy Allison <jra at samba.org> >> Reply-To: Jeremy Allison <jra at samba.org> >> Date: Fri, 14 Aug 2009 14:46:57 -0700 >> To: Shaun Martin <smartin at akazaresearch.com> >> Cc: <samba at lists.samba.org> >> Subject: Re: [Samba] Permission Issues - Email found in subject >> >> On Fri, Aug 14, 2009 at 04:22:22PM -0400, Shaun Martin wrote: >>> Hi All, >>> >>> I am trying to achieve something pretty simple. I have a samba share and I >>> would like all new directories and files within that share to have 775 >>> permissions. My config for that share is below. Whenever I create a dir I >>> get 755 permissions. I have set every force permission their is. Both >>> configs below produced the same directory. I feel like this should be very >>> easy and my settings are correct. I have been managing samba server for >>> years and have never run into this issue before. PLEASE HELP!! >>> >>> Thanks, >>> Shaun >>> >>> ls of newly created dir >>> drwxr-xr-x 2 smartin akaza 48 2009-08-14 16:15 shaun >>> >>> >>> Orig Config: >>> >>> delete readonly = yes >>> writeable = yes >>> path = /shared >>> force directory mode = 0775 >>> force create mode = 0775 >>> comment = Shared Files >>> public = no >>> create mask = 0775 >>> directory mask = 0775 >>> browseable = yes >>> >>> Crazy Config setting every force option: >>> >>> delete readonly = yes >>> writeable = yes >>> path = /shared >>> force directory mode = 0775 >>> force create mode = 0775 >>> comment = Shared Files >>> public = no >>> create mask = 0775 >>> directory mask = 0775 >>> force directory security mask = 0775 >>> directory security mask = 0775 >>> force security mode = 775 >>> security mask = 0755 >>> browseable = yes >> >> That should work. What version of Samba ? >> >> Jeremy. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba