开发者

Error in linux fedora-- Permission Denied

开发者 https://www.devze.com 2023-03-09 11:48 出处:网络
I am getting per开发者_StackOverflow社区mission denied error in linux fedora while using ./newmkapp command. The error message is -- bash: ./newmkapp: Permission denied..check your file permissions wi

I am getting per开发者_StackOverflow社区mission denied error in linux fedora while using ./newmkapp command. The error message is -- bash: ./newmkapp: Permission denied..


check your file permissions with

ls -l

It should look something like this

-rwxr-xr-x   1 jcpennypincher  staff       55  5 Jul  2010 newmkapp

if you are not the owner you can use

chown username:username newmkapp

to change ownership, or you can make the file executable by other if you are not the owner or in the group that owns the file.

chmod 755 newmkapp


Easier to remember than numerical permissions:

chmod a+x newmkapp

Voila ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消