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

Re: pb de permissions sur les répertoires



Dans un message du 14 oct à 14:45, Isa & Fred écrivait :
> $ mkdir tutu
> $ ls -d tutu
> drwxr-sr-x tutu  
>       ^------------ Que vient faire ce 's', j'attendrais plutôt un 'x' !

En fait ça dépend du répertoire racine. Je suppose que tu as fait ça
dans ton home. Si tu avais réalisé l'opération dans /tmp, le résultat
aurait été celui attendu. 

> Le 'gid bit' pour les répertoires veulent-ils dire qq chose ?

dans info chmod on trouve :

 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.

Voilà.

-- 
Guillaume Morin <guillaume@morinfr.org>

Last night I saw the face of god, but waking I'd forgotten who she was (Addict)



Reply to: