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: Chris Tyler <chris_at_nospam>
Date: Wed Oct 19 2011 - 17:08:44 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

On Wed, 2011-10-19 at 10:01 -0700, Brian Mury wrote:
> On Wed, Oct 19, 2011 at 09:50, shailesh <shailesh23jan@rediffmail.com> wrote:
> >
> > when i try to run compiled c program ("./a.out") get error
> > bash: ./a.out: Permission denied
>
> chmod u+x a.out

If you *just* built this, then your umask may be wrong (too
restrictive). Try the default: umask 0002

-Chris

-- 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