CHOWN & CHMOD


CHOWN is used to change the user and group of files or folders

The basic synstax is chown user:group objectname

e.g. this will set the folder joomla with a user of root and a froup of FTP

chown root:FTP joomla

If you want to add root:FTP to all of the folder contents then

chown -R root:FTP joomla *


Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s