Recently I had to run a .command file which came with a cracked app (yes… sometimes I’m a begger), but instead of executing the file I received a message “The file .command could not be executed because you don’t have appropriate access privileges”. That was my first time dealing with such file type, so I got stuck … until I found the solution.
And here it is…
The hint “To change access privileges, select the file in the Finder and choose File > Get Info” didn’t help. Even if you set the file permissions to Read&Write (most probably it’s already set by default), you would still receive the same message.
The be able to run .command file you’ll have to set an “execute” permission on it.
Follow the steps below:
cd downloads – opens Downloads folder
cd – go to one level up
Where u is the owner of the file, +x adds ‘execute’, so u+x gives you (the owner) the ability to execute it.
You might be asked for admin password.
This is it! Now you can double click on your .command file to execute it.
If you get the following message “chmod: max.command: No such file or directory”, check if you navigated to the right folder and specified correct file name.
Share in comments below what made you use .command files.
Subscribe, Share and Donate… Please!