Above command combination will reset all the permissions to the default permissions under CentOS / RHEL / Fedora Linux.
Tag Archives: chown
suPHP
suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.
How to change a file’s owner and group in Linux
Learn how to change the owner and group ownership of files and directories with the chown and chgrp commands. This tuXfile will make much more sense if you already have a basic understanding of file permissions and ownership.