Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Supprimer un fichier récalcitrant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Pongten
Guru
Guru


Joined: 07 Apr 2004
Posts: 340
Location: Belgique (devant mon écran)

PostPosted: Sun Sep 10, 2006 8:36 am    Post subject: [TIP] Supprimer un fichier récalcitrant Reply with quote

Petite astuce bien utile lorsque votre fs (en ext2 ou 3) a perdu les pédales et que vous vous retrouvez avec des fichiers que même en root vous ne pouvez pas effacer. Cela peut être fait en changeant les attributs du fichiers en faisant :
Code:
chattr -R =s nom_fichier


De façon récursive (au cas où il s'agit d'un répertoire), les fichiers sont marqués comme effaçables et peuvent dès lors être supprimés sans peine
_________________
Si ton problème a une solution, rien ne sert de t'inquiéter...
Si il n'en a pas, t'inquiéter ne sert à rien
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum