Monday, December 8, 2014

Changing local and group ownership

I usually use the following commands to change ownership of a file or directory

# chown username.usergroups myfile.

But sometimes the users name contain a fullstop in the username. In that case, the following
# chown user.name:usergroups myfile

No comments: