spu@corman.be
2005-Feb-01 16:02 UTC
[Samba] forcing a file to have the same uid from parent 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@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467
Gerald (Jerry) Carter
2005-Feb-02 01:16 UTC
[Samba] forcing a file to have the same uid from parent directory
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 spu@corman.be wrote: | | | 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. Jeremy, How do you feel about 'inherit ownership' as a new smb.conf parameter ? This is the second request I've seen in a week for it. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCACmqIR7qMdg1EfYRAq2QAKCpQAd35ztfronIHrSD2Os0gvY+cQCfScNj a1RDj2WPSW3VQJJV1ikCcAY=v4pB -----END PGP SIGNATURE-----
Ilia Chipitsine
2005-Feb-02 13:22 UTC
[Samba] forcing a file to have the same uid from parent directory
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@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 >