Created
March 13, 2012 22:50
-
-
Save skull-squadron/2032395 to your computer and use it in GitHub Desktop.
fix rvm permissions
This file contains hidden or 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
#!/bin/sh | |
find ~/.rvm -type d -print0 | xargs -0L1 chmod 0755 | |
find ~/.rvm -type f -print0 | xargs -0L1 chmod 0644 | |
find ~/.rvm -type f -print0 | xargs -0L1 file | grep ' exec' | cut -d: -f1 | tee /dev/stderr | xargs -L1 chmod 0755 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment