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 from screen above “To view or 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 file .command could not be executed…”
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. Enter the command the same way as seen above.
You might be asked for admin password.
That’s it! Try to execute the file again and hopefully you won’t wee “.command could not be executed” message again.
If you get the following “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 Read my Story… Please!
3 thoughts on “SOLVED: The file .command could not be executed … no access privileges”
if it says you do not have permission… simply type “sudo” before the chmod etc
Thanks a lot dude!!!