How Do I Change Ownership of Directories and then Make Them Writable #802
Replies: 2 comments · 5 replies
-
|
What happened when you tried running ? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I get "Operation not permitted" error messages. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Can you paste the exact output of each of those two commands here? Then, please paste the exact output of |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
The output for "sudo chown -R $(whoami) /usr/local/lib/python3.7/site-packages" is: Last login: Sat Feb 13 19:07:50 on ttys000 The output for "chmod u+w /usr/local/lib/python3.7/site-packages": The output for "ls -la /usr/local/lib/python3.7": The output for ls "-la /usr/local/lib/python3.7/site-packages": Thanks. |
Beta Was this translation helpful? Give feedback.
All reactions
-
That |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
The output of "ls -ld@eO /usr/local /usr/local/lib": drwxr-xr-x 16 root wheel sunlnk 512 Feb 13 18:42 /usr/local |
Beta Was this translation helpful? Give feedback.
All reactions
-
A quarantine flag on That said, you can try to remove the quarantine flag with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to install Youtube-dl using Homebrew, but after passing the command brew install youtube-dl on the terminal, I am getting the following error:
Error: The following directories are not writable by your user:
/usr/local/lib/python3.7/site-packages
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/lib/python3.7/site-packages
And make sure that your user has write permission.
chmod u+w /usr/local/lib/python3.7/site-packages
I have researched a lot, but I have not been successful. How do I solve this problem? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions