I have CentOS and cPanel installed. I want to lock certain files (e.g. .ftpquota
) from being deleted through FTP. I tried to change the ownership to root:root
or root:lock
but it didn't work; neither did changing the mode to 0.
How can I lock the .ftpquota
file?