Changing File Permissions with chown
You can use the chown
command to change the owner of a file:
matthew@seymour:~$ chown matthew filename
You can also use the chown
command to change the group of a file at the same time:
matthew@seymour:~$ chown matthew:wheel filename
Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.