Deleting Immutable Files on Linux

If you have a file such as php-fpm.cgi that won’t delete no matter what you try, it’s likely immutable. You can remove the immutable flag using:

~

If you have a file such as php-fpm.cgi that won’t delete no matter what you try, it’s likely immutable. You can remove the immutable flag using:

chattr -i file.name

 


~

Comments