[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: set group id, sous debian



On Tue, Jun 26, 2001 at 09:38:06AM +0200, gedeon wrote:
> Pourquoi lors de la création d'un nouvel utilisateur(entre autre), le
> répertoire de celui ci est avec un set group id, cela n'est il pas
> dangereux....

Pour que les fichiers mis dedans ont le groupe de l'utilisateur.
Donc si root y met un fichier ça serait root.groupe_de_l'utilisateur

de pinfo chmod:
  2. set the process's effective group ID to that of the file upon
     execution (called the "setgid bit").  For directories on some
     systems, put files created in the directory into the same group as
     the directory, no matter what group the user who creates them is
     in.



Simon.

-- 
UK based domain, email and web hosting ***/     "Ahead groove factor 5!  /*
http://www.blackcatnetworks.co.uk/     **/              Yeah!"  - Holly /**
sales@blackcatnetworks.co.uk           */                              /***
Black Cat Networks                     /                              /****



Reply to: