[Samba] different shares use parts of the same path - is this allowed?

Jeremy Allison jra at samba.org
Thu Mar 16 19:31:00 UTC 2017


On Thu, Mar 16, 2017 at 05:33:43PM +0000, lejeczek via samba wrote:
> 
> 
> On 16/03/17 16:38, Marc Muehlfeld via samba wrote:
> >Hi,
> >
> >Am 15.03.2017 um 15:39 schrieb lejeczek via samba:
> >>something like this:
> >>
> >>[big]
> >>path = /data/big
> >>writeable = no
> >>
> >>[my.big]
> >>path = /data/big/my
> >>writeable = yes
> >>
> >>[your.big]
> >>path = /data/big/your
> >>writeable = yes
> >>
> >>is such a configuration healthy? What are possible negative
> >>implications
> >>this may cause, if any?
> >
> >There is no limitation. It works as expected.
> >
> >
> >Regards,
> >Marc
> >
> >
> thank chaps,
> but what if one changes:
> 
> [big]
> path = /data/big
> writeable = yes
> 
> and multiple shares would have users writing, would Samba take of
> all this, locking racing or whatever devel calls it.
> Still ok?

Should work, smbd uses dev/ino pairs to identify
files. But it's not recommended. Only export a
filesystem path *once* please.



More information about the samba mailing list