Skip to content

Instantly share code, notes, and snippets.

@todorok1 todorok1/chmod.txt
Created Aug 3, 2018

Embed
What would you like to do?
PackageManagerでerrno13が出るときに権限変更をする
// 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
You can’t perform that action at this time.