MORILLO Jordi
2015-Jun-05 12:53 UTC
[Samba] [Bug or Limitation] Folder sharing inside another share
Hi, Given i have this share : [j.snow] Path = /home/j.snow Share and ntfs permission : j.snow user Now I add another folder share inside the first one : [a.stark] Path = /home/j.snow/a.stark Share and ntfs permission : a.stark user /home/j.snow/a.stark has now parent inherit permission (j.snow) AND a.stark user a.stark can't access to her share ! if I add a.stark NTFS access to [j.snow] share, she can.... Strange behavior. Bug or samba limitation ? I'm running lastest samba 4.1 version This case is working well on 2008R2 file sharing...
Chris Weiss
2015-Jun-05 13:08 UTC
[Samba] [Bug or Limitation] Folder sharing inside another share
On Fri, Jun 5, 2015 at 7:53 AM, MORILLO Jordi <J.Morillo at educationetformation.fr> wrote:> Hi, > > Given i have this share : > > [j.snow] > Path = /home/j.snow > Share and ntfs permission : j.snow user > > Now I add another folder share inside the first one : > [a.stark] > Path = /home/j.snow/a.stark > Share and ntfs permission : a.stark user > > /home/j.snow/a.stark has now parent inherit permission (j.snow) AND a.stark user > > a.stark can't access to her share ! > if I add a.stark NTFS access to [j.snow] share, she can.... > Strange behavior. > Bug or samba limitation ? > I'm running lastest samba 4.1 version > > This case is working well on 2008R2 file sharing... > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/sambaa user needs at least list permissions on all parent folders in order to be able to find the shared folder, is that the case?
Sébastien Le Ray
2015-Jun-05 13:10 UTC
[Samba] [Bug or Limitation] Folder sharing inside another share
Hi, I guess it is ? by design ?. smb process for a.stark gets a.stark UID and is thus subject to standard unix permissions checks. If it cannot "execute" parent dirs, access will fail. Regards, Le 05/06/2015 14:53, MORILLO Jordi a ?crit :> Hi, > > Given i have this share : > > [j.snow] > Path = /home/j.snow > Share and ntfs permission : j.snow user > > Now I add another folder share inside the first one : > [a.stark] > Path = /home/j.snow/a.stark > Share and ntfs permission : a.stark user > > /home/j.snow/a.stark has now parent inherit permission (j.snow) AND a.stark user > > a.stark can't access to her share ! > if I add a.stark NTFS access to [j.snow] share, she can.... > Strange behavior. > Bug or samba limitation ? > I'm running lastest samba 4.1 version > > This case is working well on 2008R2 file sharing...
MORILLO Jordi
2015-Jun-05 13:20 UTC
[Samba] [Bug or Limitation] Folder sharing inside another share
Ok I understand: Samba respect UNIX permission so this is normal behaviour Thanks for all -----Message d'origine----- De?: S?bastien Le Ray [mailto:sebastien-samba at orniz.org] Envoy??: vendredi 5 juin 2015 15:11 ??: MORILLO Jordi; samba at lists.samba.org Objet?: Re: [Samba] [Bug or Limitation] Folder sharing inside another share Hi, I guess it is ? by design ?. smb process for a.stark gets a.stark UID and is thus subject to standard unix permissions checks. If it cannot "execute" parent dirs, access will fail. Regards, Le 05/06/2015 14:53, MORILLO Jordi a ?crit :> Hi, > > Given i have this share : > > [j.snow] > Path = /home/j.snow > Share and ntfs permission : j.snow user > > Now I add another folder share inside the first one : > [a.stark] > Path = /home/j.snow/a.stark > Share and ntfs permission : a.stark user > > /home/j.snow/a.stark has now parent inherit permission (j.snow) AND > a.stark user > > a.stark can't access to her share ! > if I add a.stark NTFS access to [j.snow] share, she can.... > Strange behavior. > Bug or samba limitation ? > I'm running lastest samba 4.1 version > > This case is working well on 2008R2 file sharing...
L.P.H. van Belle
2015-Jun-05 13:31 UTC
[Samba] [Bug or Limitation] Folder sharing inside another share
or add acl_xattr:ignore system acl = yes to your share. more info man smb.conf .. Gr. Louis>-----Oorspronkelijk bericht----- >Van: J.Morillo at educationetformation.fr >[mailto:samba-bounces at lists.samba.org] Namens MORILLO Jordi >Verzonden: vrijdag 5 juni 2015 15:21 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] [Bug or Limitation] Folder sharing >inside another share > >Ok I understand: Samba respect UNIX permission so this is >normal behaviour >Thanks for all > >-----Message d'origine----- >De?: S?bastien Le Ray [mailto:sebastien-samba at orniz.org] >Envoy??: vendredi 5 juin 2015 15:11 >??: MORILLO Jordi; samba at lists.samba.org >Objet?: Re: [Samba] [Bug or Limitation] Folder sharing inside >another share > >Hi, > >I guess it is ? by design ?. smb process for a.stark gets >a.stark UID and is thus subject to standard unix permissions >checks. If it cannot "execute" parent dirs, access will fail. > >Regards, > >Le 05/06/2015 14:53, MORILLO Jordi a ?crit : >> Hi, >> >> Given i have this share : >> >> [j.snow] >> Path = /home/j.snow >> Share and ntfs permission : j.snow user >> >> Now I add another folder share inside the first one : >> [a.stark] >> Path = /home/j.snow/a.stark >> Share and ntfs permission : a.stark user >> >> /home/j.snow/a.stark has now parent inherit permission (j.snow) AND >> a.stark user >> >> a.stark can't access to her share ! >> if I add a.stark NTFS access to [j.snow] share, she can.... >> Strange behavior. >> Bug or samba limitation ? >> I'm running lastest samba 4.1 version >> >> This case is working well on 2008R2 file sharing... > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >