Discussion:
[Samba] different shares use parts of the same path - is this allowed?
(too old to reply)
lejeczek via samba
2017-03-15 14:50:02 UTC
Permalink
hi everyone

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?
ver. 4.4
many thanks,
L
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Luke Barone via samba
2017-03-15 16:20:01 UTC
Permalink
I can't speak to what the best practice is, but I have some shares that are
set up like that from before I started working there. No major issues as
long as samba was not setting the permissions differently

On Mar 15, 2017 7:42 AM, "lejeczek via samba" <***@lists.samba.org> wrote:

hi everyone

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?
ver. 4.4
many thanks,
L
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
lejeczek via samba
2017-03-16 10:30:02 UTC
Permalink
Post by Luke Barone via samba
I can't speak to what the best practice is, but I have some shares that are
set up like that from before I started working there. No major issues as
long as samba was not setting the permissions differently
hi everyone
[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?
ver. 4.4
many thanks,
L
I thought, that would be well tried & tested subject. And
that samba docs would themselves cover the subject of
"conflicting" paths, but I sroogled and find almost
nothing.(or my sroogling force is weak)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Marc Muehlfeld via samba
2017-03-16 16:50:02 UTC
Permalink
Hi,
Post by lejeczek via samba
[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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
lejeczek via samba
2017-03-16 17:40:01 UTC
Permalink
Post by Marc Muehlfeld via samba
Hi,
Post by lejeczek via samba
[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?
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jeremy Allison via samba
2017-03-16 19:40:01 UTC
Permalink
Post by lejeczek via samba
Post by Marc Muehlfeld via samba
Hi,
Post by lejeczek via samba
[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,
[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.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Loading...