"Permission denied" error for root user when perms are 0775?

R. G. Newbury newbury at mandamus.org
Mon Aug 25 16:36:05 UTC 2008


fedora-list-request at redhat.com wrote:
> Send fedora-list mailing list submissions to
> 	fedora-list at redhat.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.redhat.com/mailman/listinfo/fedora-list
> or, via email, send a message with subject or body 'help' to
> 	fedora-list-request at redhat.com
> 
> You can reach the person managing the list at
> 	fedora-list-owner at redhat.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fedora-list digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: "Permission Denied" error for root user when perms are
>       0775? (Thomas Cameron)
>    2. Re: Nvidia driver (Claude Jones)
>    3. Re: 13. Re: FC9 NetworkManager & WPA (Tim) (Tim)
>    4. Re: "Permission Denied" error for root user when perms are
>       0775? (laurence orchard)
>    5. Re: pulseaudio, howto make it work? (Tim)
>    6. service; ps & grep help (James Pifer)
>    7. Re: service; ps & grep help (g)
>    8. Re: service; ps & grep help (g)
>    9. Re: service; ps & grep help (Mogens Kjaer)
>   10. Re: service; ps & grep help (Anders Karlsson)
>   11. Re: service; ps & grep help (Sjoerd Mullender)
>   12. Re: service; ps & grep help (James Pifer)
>   13. Re: service; ps & grep help (Kevin Martin)
>   14. Re: non-disclosure of infrastructure problem a management
>       issue? (Thomas Cameron)
>   15. Page Maker Files ??? (Arun Shrimali)
>   16. Re: non-disclosure of infrastructure problem a management
>       issue? (Les Mikesell)
>   17. Re: Which gcc was used to compile OpenOffice.org? (Andrea)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 25 Aug 2008 07:16:58 -0500
> From: Thomas Cameron <thomas.cameron at camerontech.com>
> Subject: Re: "Permission Denied" error for root user when perms are
> 	0775?
> To: For users of Fedora <fedora-list at redhat.com>
> Message-ID: <48B2A2BA.5000501 at camerontech.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> R. G. Newbury wrote:
>> Weird problem.
>> I downloaded an svn version of mythtv, cd'd to the folder, and tried to 
>> run './configure --help', Got a 'Permission Denied' error.
>>
>> I am root and the permissions were and are 0775...chmod changes nothing, 
>> even trying 0777.
>>
>> Does anyone have any idea what is going on? The directory is on a 'rw' 
>> partition, since I just downloaded to it, using a script. But the 
>> configure script itself will not run. I changed the first line from:
>> #!/bin/sh    to #!/bin/bash  > no change.
>>
>> And bash *is* in /bin and executable, owned by root.
>>
>> I'm stumped....
> 
> What is the partition?  Is it a remote drive mounted locally?  Is it a 
> USB drive - they are typically mounted noexec?  What does /bin/mount 
> tell you?
> 
> Could it be an SELinux denial?  What does /var/log/audit/audit.log tell 
> you?
> 
> Anything in /var/log/messages?
> =Thomas  
***************
 >i've had a similar problem when trying to delete a file, then it was to
 >do with extended attributes.

 >can't remember how i got around it, but looked the details up in man 
 >for attrib from memory!

 >laurence

********************

Thanks to both of you. Good pointers.
The drive is a partition on the same spindle, mounted '-t ext3 /dev/sda5 
/keep', BUT /etc/fstab has the partition as 'users,defaults'...so it IS 
possible that 'defaults' = 'noexec'...easily tested: thank you.

However, that would mean that (see my second post) the Fedora recovery 
environment uses a different 'default'...hmmmm....possible I guess, as 
it is mounting stuff which you are intended to use/play with...why not 
execute as well...

As to extended attribs...I cannot see there are any, or why there would 
be, as there weren't any before this last re-install...
But I will check that.

Thanks.

Otherwise, I need to use trace or dump or what?????

Geoff




More information about the users mailing list