View previous topic :: View next topic |
Author |
Message |
WildChild Apprentice


Joined: 14 Sep 2003 Posts: 171
|
Posted: Tue Sep 23, 2003 3:06 pm Post subject: [Droits] Groupe par défaut des fichiers (Résolu) |
|
|
Lorsque je cré un fichier à partir de mon utilisateur normal "wild" dans son dossier ~, le groupe d'appartenance du fichier est "users" par défaut. Comment je pourrais faire pour que ce groupe par défaut soit "wild". Et du fait même que les fichiers soit créés avec les user.group wild.wild dans /tmp aussi?
Merci!
Last edited by WildChild on Tue Sep 23, 2003 4:37 pm; edited 2 times in total |
|
Back to top |
|
 |
yoyo Bodhisattva


Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Tue Sep 23, 2003 4:17 pm Post subject: |
|
|
Il faut créer le groupe "wild" et indiquer que ton user "wild" a comme groupe par défaut "wild".
Comme tu t'en rends compte, ça n'est pas très clair et je ne vois pas trop pourquoi tu veux que ton user est son groupe à lui tout seul (quel est l'intérêt de la notion de groupe dans ce cas ???).
Si tu ne veux pas que les autres users puissent accéder à tes fichiers, un "chmod go-x-w-r mesfichiers" le leur interdit tout simplement (man chmod pour plus d'infos).
EDIT : peux-tu en éditant ton 1er post modifier le titre de ton thread afin qu'il corresponde à ce qui a été décrit ici ???
Merci. |
|
Back to top |
|
 |
|