Skip to contentSkip to conversation

"Permission denied" during ls

DISCUSSION Pierre Abbat 2 participants 3 messages Mar 26, 2004

lore
Share & tools
lore
#0 lore raw

A few months ago I set up a mail server for my ISP and put the maildirs on a separate disk formatted in reiserfs. I just got a call saying that he's getting "permission denied" errors doing "ls" on the directory:

[root@mail mail]# vdir
[email protected]: Permission denied
[email protected]: No such file or directory
drwx------ postfix postfix [email protected]
drwx------ postfix postfix [email protected]

The box is running Linux 2.4.20 and AFAIK reiserfsck has never been run on that disk. What could cause this, and is it likely to need anything more than reiserfsck --check?

phma

Signature · 1 line
li fi'u vu'u fi'u fi'u du li pa
#1 lore raw
Quoted 10 lines · Pierre Abbat

A few months ago I set up a mail server for my ISP and put the maildirs on a separate disk formatted in reiserfs. I just got a call saying that he's getting "permission denied" errors doing "ls" on the directory:

[root@mail mail]# vdir
[email protected]: Permission denied
[email protected]: No such file or directory
drwx------ postfix postfix [email protected]
drwx------ postfix postfix [email protected]

Quoted 3 lines

The box is running Linux 2.4.20 and AFAIK reiserfsck has never been run on that disk. What could cause this, and is it likely to need anything more than reiserfsck --check?

do you see anything related in the syslog?
what does reiserfsck --check say?

Signature · 2 lines
Thanks,
Vitaly Fertman
#2 lore raw
Quoted 2 lines · Vitaly Fertman

do you see anything related in the syslog?
what does reiserfsck --check say?

It told him to run rebuild-tree, which apparently worked. I'm going to ssh in once the nameserver is back up (separate problem).

phma

Signature · 1 line
li fi'u vu'u fi'u fi'u du li pa