I am using a RHEL 5.5 on my PC. I was playing around with chmod and chown. suddenly my home folder become read-only. all the folders in /home/goutham/, where goutham is username, became read-only. I can delete files after turning on system for few seconds, after that it says Permission denied:read only file system. I cant even create folder with sudo mkdir also. Please help me. My os is on /dev/sda3
-
can't you just add wx to you home directory using chmod?– roniAug 17, 2012 at 11:03
-
I did that, but it doesn't work. it says "chmod: changing file system permissions: Read only file system"– gthm geekyAug 17, 2012 at 11:05
-
What is the output of the mount command?– Abrixas2Aug 17, 2012 at 11:07
-
did you mess with the mount?– roniAug 17, 2012 at 11:07
-
Yeah, I tried mount -o remount /home/goutham It dint give any output, but doesn't work.– gthm geekyAug 17, 2012 at 11:09
|
Show 4 more comments
1 Answer
My problem is Solved after running the command e2fsck -C -p -f -y /dev/sda3
Thanks for everyone.