You should never have permission issues there and there wont be a risk of it accessing or modifying anything critical to your OS. Move it to ~/ or a sub directory and execute from there. ~/dvtcolorconvert.rb ~/Themes/ObsidianCode.xccolortheme That said, DON'T DO THIS! If you are running a script on your computer and don't need it to access core components of your operating system (I'm guessing you're not since you are invoking the script on something inside your home directory (~/)), then it should be running from your home directory, ie: This should allow you to execute almost anything from the command line. The sudo command executes the commands which follow it with 'superuser' or 'root' privileges. Try running sudo /dvtcolorconvert.rb ~/Themes/ObsidianCode.xccolortheme Please read the whole answer before attempting to run with sudo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |