Run script on mac prompt “Permission denied”
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm new to mac with not familiar on terminal command, i put the dvtcolorconvert.rb file on root directory of my volume, this ruby script can converting xcode 3 themes into xcode 4 themes format, which is xxxxxxxx.dvtcolortheme format. Then run the script /dvtcolorconvert.rb ~/Themes/ObsidianCode.xccolortheme on terminal, but it's always prompt " Permission denied ". what's wrong with this? Anybody can help me solve this problem? Thanks. 回答1: Please read the whole answer before attempting to run with sudo Try running sudo /dvtcolorconvert.rb