Allows normal cpanel users to make files immutable.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with TransgressInc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Make Files Immutable

To install, copy release archive to installation server, extract and use script.

wget -O cpanel_chattr_plugin-1.0.0.tar.gz
tar -xvf cpanel_chattr_plugin-1.0.0.tar.gz && cd cpanel_chattr_plugin-1.0.0
chmod +x

or select releases tab in github and download release

A new icon called File Lock will appear in cpanel user list under security group.

To use, simply select directory or file you would like to make immutable, and select the checkbox, it will then make the entire directory or just the file immutable.

Selecting a directory will recursively mutate all files and sub directories.

It is just like using the command chattr -R +i /path/ on the command line as root, except safer as root privileges are not needed for the cpanel user, only the function that is called is authorized to escalate privilege to run that command only.

Please submit issue if you find a bug.