Permalink
Browse files

Be more specific with the chown instructions

  • Loading branch information...
1 parent 65b290c commit 3901ac170e74d2be8fe1c63ebfc0b47b8d9eb2de @isaacs isaacs committed Nov 15, 2010
Showing with 8 additions and 3 deletions.
  1. +8 −3 README.md
View
11 README.md
@@ -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.

0 comments on commit 3901ac1

Please sign in to comment.