diff options
author | isaacs <i@izs.me> | 2010-11-15 18:54:19 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-11-15 19:02:12 +0300 |
commit | 3901ac170e74d2be8fe1c63ebfc0b47b8d9eb2de (patch) | |
tree | 9f25274d1d0dd849080acaf3a2cd42931bb1e685 /README.md | |
parent | 65b290c10c8c4adbbca9de4eb77f1bb40f67a10c (diff) |
Be more specific with the chown instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -27,10 +27,15 @@ and package installations can run arbitrary scripts. ### Option 1: Take ownership -This is good if you have a single-user machine. Run this command once, and -never use sudo again to install stuff in /usr/local: +Don't do this if you don't know what it does! If you have software in +/usr/local that depends on a specific ownership (such as MySQL), then it +might break if you change its ownership. Be careful. Unix does not +assume you don't know what you're doing! - sudo chown -R $USER /usr/local +This is convenient if you have a single-user machine. Run this command +once, and never use sudo again to install stuff in /usr/local: + + sudo chown -R $USER /usr/local/{share/man,bin,lib/node} You could also give your user permission to write into that directory by making it group-writable and adding your user to the group that owns it. |