Created
August 3, 2018 09:16
-
-
Save todorok1/985006a56ccfb66a46c7faad35d50ad7 to your computer and use it in GitHub Desktop.
PackageManagerでerrno13が出るときに権限変更をする
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
// PackageManager内の権限 | |
$ ls -l | |
drwxrwxr-x 33 root admin 1056 7 19 20:42 BuiltInPackages | |
drwxrwxr-x 15 root admin 480 7 19 21:10 Editor | |
drwxrwxr-x 10 root admin 320 7 19 20:34 ProjectTemplates | |
drwxrwxr-x 3 root admin 96 7 19 20:42 Server | |
// 権限を変更 | |
$ sudo chown -R $(whoami) BuiltInPackages | |
// パスワードが聞かれるので入力すると権限が変更される | |
$ ls -l | |
drwxrwxr-x 33 <ユーザ名> admin 1056 7 19 20:42 BuiltInPackages | |
drwxrwxr-x 15 root admin 480 7 19 21:10 Editor | |
drwxrwxr-x 10 root admin 320 7 19 20:34 ProjectTemplates | |
drwxrwxr-x 3 root admin 96 7 19 20:42 Server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment