• [Samba] different shares use parts of the same path - is this allow

    From Luke Barone via samba@21:1/5 to All on Wed Mar 15 17:20:01 2017
    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" <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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lejeczek via samba@21:1/5 to Luke Barone via samba on Thu Mar 16 11:30:02 2017
    On 15/03/17 16:09, Luke Barone via samba wrote:
    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" <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

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Muehlfeld via samba@21:1/5 to All on Thu Mar 16 17:50:02 2017
    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


    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lejeczek via samba@21:1/5 to Marc Muehlfeld via samba on Thu Mar 16 18:40:01 2017
    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?


    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy Allison via samba@21:1/5 to lejeczek via samba on Thu Mar 16 20:40:01 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.

    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)