change owner of the file

October 2nd, 2006 mysurface

chown is a simple admin command that use to change the owner and groups on specified file. The simple syntax looks like bellow: chown OWNER:GROUP FILE… For example I want to change owner and group of file /var/www/html/index.php from root to apache. chown apache:apache /var/www/html/index.php You need to have root privilege to do that. Sometimes [...]

Posted in Admin, chown | Hits: 39170 | 2 Comments »