RE: [SLE] "Permission denied" to creating files in a home directory
On Saturday 16 September 2006 11:45, Xiaofeng Zhao wrote:
Everything of my system works fine until yesterday when I started to getting "Permission denied" whenever I try to create new files or new directory in my home directory. This is so even when I su to root.
Please help me!
xz
Hozed hard disk.
If your /home is on a reiserfs partition unmount home and reiserfschk it. If you can't unmount home separately, then boot with your Cd/DVD to the rescue system and reiserfsck it that way.
I had a similar thing happen the other day due to a very short duration power hit. One machine out of 8 crapped on its hard drive. Reiserfschk restored functionality with no loss.
I kind of accepted the default setting when I install SUSE 10.1. So the entire / is in one LVM. My fstab looks like this: /dev/sda1 /boot reiserfs acl,user_xattr 1 2 /dev/SG00/LogVol00 / reiserfs acl,user_xattr 1 1 /dev/SG00/LogVol01 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 I tried to run reiserfsck on /dev/sda2 but I got a message saying something about bad super block. I think it's not the right way to run it, isn't it? xz _________________________________________________________________ Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://get.live.com/toolbar/overview
On Saturday 16 September 2006 19:10, X Z wrote:
On Saturday 16 September 2006 11:45, Xiaofeng Zhao wrote:
Everything of my system works fine until yesterday when I started to getting "Permission denied" whenever I try to create new files or new directory in my home directory. This is so even when I su to root.
Please help me!
xz
Hozed hard disk.
If your /home is on a reiserfs partition unmount home and reiserfschk it. If you can't unmount home separately, then boot with your Cd/DVD to the rescue system and reiserfsck it that way.
I kind of accepted the default setting when I install SUSE 10.1. So the entire / is in one LVM. My fstab looks like this:
/dev/sda1 /boot reiserfs acl,user_xattr 1 2 /dev/SG00/LogVol00 / reiserfs acl,user_xattr
I tried to run reiserfsck on /dev/sda2 but I got a message saying something about bad super block. I think it's not the right way to run it, isn't it?
No, you must do this from the rescue CD. I think you will have to try reiserfschk /dev/SG00/LogVol00 but I'm not totally sure that will be available when you boot with the rescue cd. (Side Rant: This is what I hate about LVM. You are never sure where it really exists, and since it can span disks you have N times the likelyhood for failure, where N = the likelyhood of a single drive failure). -- _____________________________________ John Andersen
participants (2)
-
John Andersen
-
X Z