Subject: Re: PR 36963
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: tech-kern
Date: 09/19/2007 10:58:29
On Wed, Sep 19, 2007 at 02:26:11PM +0200, Jan Danielsson wrote:
>     Line 92, when ls fails:
>   24778      1 ls       CALL  fstatvfs1(5,0x7f7fffffe270,2)
>   24778      1 ls       RET   fstatvfs1 -1 errno 13 Permission denied
> 
> 
>     Line 92, when ls succeeds:
>     959      1 ls       CALL  fstatvfs1(5,0x7f7fffffe270,2)
>     959      1 ls       RET   fstatvfs1 0
> - ------------------

That looks promising.

There are a couple places I can see that might return EPERM.  hmm...
Have you checked that all the directories up to and including / have valid
permissions?  How are you filesystems mounted?  Can you provide your
/etc/fstab and the output of "mount"?

eric