Skip to content

Instantly share code, notes, and snippets.

@originalhat
Last active December 12, 2015 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save originalhat/c1509dda67b8fab8a9f8 to your computer and use it in GitHub Desktop.
Save originalhat/c1509dda67b8fab8a9f8 to your computer and use it in GitHub Desktop.

The chown command (abbreviation for change owner) is used on Unix-like systems to change the owner of a file.

sudo chown -R <owner>:<group> /usr/local/

In Unix-like operating systems, chmod is the command and system call which may change the access permissions to file system objects.

sudo chmod -R g+w /usr/local/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment