Skip to contentSkip to conversation

Permission denied to ls for root?

mythtv-users Ryan Steffes 2 participants 2 messages Jul 15, 2006 – Jul 16, 2006 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 22 lines · Michael T. Dean
Quoted 17 lines · Carl Fongheiser

On 7/14/06, *Ryan Steffes* <[email protected]
<mailto:[email protected]>> wrote:

    I've never seen ls do this before, at least, not for root.  Any
    idea what could cause it?

    # ls
    ls: 1036_20060417230000_20060417233000.nuv.png: Permission denied
    ls: 1056_20060610130000.mpg: Permission denied
    ls: 1006_20050920213000_20050920220000.nuv.png: Permission denied
    ls: 1013_20060420201900_20060420203000.nuv: Permission denied
    ls: 1003_20060419220000_20060419230000.nuv.png: Permission denied

    Can't delete em, look at em, touch em, chmod em, or chown em, even
    as root.  It's odd.
Quoted 2 lines

Are these files on a remote NFS share? If so, that's not unusual.
Root is usually mapped to "nobody" on remote NFS servers.

Quoted 9 lines

Or, it could happen because of a stale NFS file handle (fixable by unmounting/remounting).

Mike
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

It appears the answer I may have to go with is some sort of corruption in the file system. I'm CCing this to the reiserfs list, since that's what the partition is. On reboot, the partition starts to load, and hangs up on "Checking Internal Tree.." and gets no further.

Any suggestions on how to recover without losing all my data?

Ryan

#4 lore raw
Quoted 42 lines · Ryan Steffes

On 7/14/06, *Michael T. Dean* <[email protected] <mailto:[email protected]>> wrote:

    On 07/14/2006 09:31 PM, Carl Fongheiser wrote:
    > On 7/14/06, *Ryan Steffes* <[email protected]
    <mailto:[email protected]>
    > <mailto:[email protected] <mailto:[email protected]>>> wrote:
    >
    >     I've never seen ls do this before, at least, not for root.  Any
    >     idea what could cause it?
    >
    >     # ls
    >     ls: 1036_20060417230000_20060417233000.nuv.png: Permission
    denied
    >     ls: 1056_20060610130000.mpg: Permission denied
    >     ls: 1006_20050920213000_20050920220000.nuv.png: Permission
    denied
    >     ls: 1013_20060420201900_20060420203000.nuv: Permission denied
    >     ls: 1003_20060419220000_20060419230000.nuv.png: Permission
    denied
    >
    >     Can't delete em, look at em, touch em, chmod em, or chown
    em, even
    >     as root.  It's odd.
    >
    >
    > Are these files on a remote NFS share?   If so, that's not unusual.
    > Root is usually mapped to "nobody" on remote NFS servers.

    Or, it could happen because of a stale NFS file handle (fixable by
    unmounting/remounting).

    Mike
    _______________________________________________
    mythtv-users mailing list
    [email protected] <mailto:[email protected]>
    http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Quoted 10 lines

It appears the answer I may have to go with is some sort of corruption in the file system. I'm CCing this to the reiserfs list, since that's what the partition is. On reboot, the partition starts to load, and hangs up on "Checking Internal Tree.." and gets no further.

Any suggestions on how to recover without losing all my data?

Ryan

Send lots more details to [email protected].