[Samba] [Bug or Limitation] Folder sharing inside another share

MORILLO Jordi J.Morillo at educationetformation.fr
Fri Jun 5 07:20:55 MDT 2015


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...



More information about the samba mailing list