Re: Droits root root dans /home/<user> perdus
On Wednesday 18 September 2013 15:55:52 Bzzz wrote:
> On Wed, 18 Sep 2013 15:50:35 +0200
>
> andre_debian@numericable.fr wrote:
> > drwxrwx--- 4 andre andre 4096 2013-05-10 19:07 .
> > drwxr-xr-x 10 ca ca 4096 2013-02-16 13:14 ..
> >
> > Comment rétablir les droits à la deuxième ligne pour avoir ceci ? :
> > drwxr-xr-x 10 root root 4096 2013-02-16 13:14 ..
>
> chmod -R dumbhead:dumbhead .
Ce serait pas plutôt "chown".
Si je tape dans /home/andre :
chmod -R root:root .
c'est la première ligne qui aura root:root
Normalement, on doit avoir :
drwxrwx--- 4 andre andre 4096 2013-05-10 19:07 .
drwxr-xr-x 10 root root 4096 2013-02-16 13:14 ..
Je préfère attendre que de voir toute l'arborescence passée en root:root ...
Reply to: