Live Chat!

change owner of the file

          0 votos

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 you want to change the [...]

Posted in Admin, chown | Hits: 5592 | No Comments »