[Samba] forcing a file to have the same uid from parent directory

Ilia Chipitsine ilia at paramon.ru
Wed Feb 2 13:22:03 GMT 2005


1) You can try "force user = %U", not sure it will work on [homes]
it even can have side effect that every user will gain access to any home 
directory.

2) SUID on directory ?

>
> Hi,
>
> I have a little problem, sometimes the administrator must put a file in  a
> home directory.  But the owner of this file is root, not the user which
> have the home directory.
>
> Example :
>
> /rsrv/data1/home/toto   toto  Utilisateurs            0700
>      + toto.id   root  Administrateurs         0700
>      + fichier.xls     toto  Utilisateurs            0700
>
> I would like to kown how I set up my conf (linux or samba ) for forcing uid
> of new file to have the same uid which have the directory.
>
> Thank you
>
>      St?phane
>
>
> -----------------------------------
> St?phane PURNELLE                         stephane.purnelle at corman.be
> Service Informatique       Corman S.A.           Tel : 00 32 087/342467
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list