fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: bash: ./a.out: Permission denied

Re: bash: ./a.out: Permission denied

From: Joe Zeff <joe_at_nospam>
Date: Wed Oct 19 2011 - 17:08:30 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

On 10/19/2011 09:50 AM, shailesh wrote:
> when i try to run compiled c program ("./a.out") get error
> bash: ./a.out: Permission denied

Files aren't automatically executable under Linux.

chmod u+x a.out
./a.out

will get you what you want.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines