Last active
November 1, 2019 06:52
-
-
Save pfieffer/c7f87e457ea9cb08ed660bb7502f7bf9 to your computer and use it in GitHub Desktop.
Change the owner and permsissions to troubleshoot issues with localhost on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls -dl ~/files | |
drwx------ 9 root root 4096 2009-04-06 15:56 files | |
$ sudo chown grunt547:grunt547 ~/files | |
[sudo] password for grunt547: | |
$ chmod 755 ~/files | |
$ ls -dl ~/files | |
drwxr-xr-x 9 grunt547 grunt547 4096 2009-04-06 15:56 files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment