Skip to contentSkip to conversation

root gets "access denied" on file-access

DISCUSSION Sven Köhler 1 participant 2 messages Jan 12, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

there is a installation of gentoo-linux on a remote-machine. It seems, the rootfs is somehow "damaged". On various files and directories, root gets the message "access denied". The rootfs is mounted without XATTR and ACL support. How can i check the rootfs? I cannot mount it read-only since it is "in use".

Gentoo's init.d scripts run "fsck -a" on the rootfs, but as far as i know, "-a" means, that fsck.reiserfs will only perform some fast checks and not a complete check.

There are some things that i don't understand:
- how can root get "access denied" to any file or directory on a local fs? May that be due to any damage of the filesystem?
- if the "access denied" is a reaction by reiserfs because it has found an error within the local fs, than why doesn't the reiserfs mark itself "damaged" so that at next boot, "fsck.reiserfs -a" will perform a full check
- if there is such a "damaged"- or "dirty"-flag, how can i set it manually?

BTW: reiserfs does not log anything. There aren't any messages written to "dmesg", /var/log/syslog, /var/log/message

#1 lore raw

Well, i forgot to tell you that i'm using Kernel 2.6.10, and the reiserfs i was talking about is version 3.6.