Quote:
First off though, I encourage you to run 'lsattr /etc/protftpd'. Reiserfs has recently had support for e2fs-style attributes, so I wonder if the 'immutable' attribute got turned on somehow.
|
Seems to have the same problem as RM does. the file "doesnt exist" but does show up.
i can't recreate it nor remove it. i guess reiserfsck --fix-fixable is the best option.
server / # whoami
root
server / # pwd
/
server / # rm -f /etc/proftpd
rm: cannot remove `/etc/proftpd': Permission denied
server / # lsattr /etc/proftpd
lsattr: Permission denied while trying to stat /etc/proftpd
server / # find /etc/ -name foobar
find: /etc/proftpd: Permission denied
server / # mkdir /etc/proftpd
mkdir: cannot create directory `/etc/proftpd': Permission denied
server / # touch /etc/proftpd
touch: cannot touch `/etc/proftpd': Permission denied
server / # reiserfsck --fix-fixable -y /dev/hda3
reiserfsck 3.6.19 (2003
www.namesys.com)
[...]
Will check consistency of the filesystem on /dev/hda3
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'
###########
reiserfsck --fix-fixable started at Tue Aug 9 10:45:14 2005
###########
Partition /dev/hda3 is mounted with write permissions, cannot check it
server / #
I noticed there was a script named "/etc/runlevels/boot/checkfs", which (according to gentoo's rc-status application) is ran everytime the system boots.
i added the line "reiserfsck --yes --fix-fixable /dev/hda3" in this script (as first line in the "start" function) but that doesn't seem to help (perhaps it didn't run at the right time ?)
along with this line i also added an "echo REISERFS_FIX" line, which i now can't find in /var/log/messages (does this mean it didn't run ?).