Can’t edit a file in Linux even the root
by kary on Mar.23, 2009, under Linux
In some case, the Linux have some files will not allow user edit directly. It will append immutable permission to the file. The file will not allow every one to edit or delete, unless the attribute has been removed.
lsattr path_to_file
Will show the addition attribute for the file or folder.
chattr -i path_to_file
Will change the file to immutable permission.
No comments for this entry yet...
Leave a Reply
You must be logged in to post a comment.