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

laurence orchard laurence at orchards.org.uk
Mon Aug 25 12:49:18 UTC 2008


Thomas Cameron wrote:
> 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?
> 
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




More information about the fedora-list mailing list