Skip to content →

Tag: server

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 immature flag using:

 

Linux Server: Send Email on File Change

This script will send an email when a file changes in the given path. Can’t remember where I picked this up from but it’s useful to have when you need to debug something that writes files.