Changing permission issue
Hello All,
I have a problem in modifying and copying one file. First I see following permission for the file. --> ls -l Testlib -rwxr-xr-x 1 root root 9045 Apr 12 2007 Testlib Then I tried, --> chmod 777 Testlib chmod: changing permissions of 'Testlib': Read-only file system I also tried 'chmod -rw Testlib', but it shows same result. I am not sure where to look. Any comments welcome. |
Your filesystem is mounted as read only. You can't change anything on a volume that's mounted ro.
This can happen for many reaons:
|
Thanks for your reply.
Yes, I had a booting problem and I could get to command prompt using rescue mode in linux cd. I copied all folders and files except this 'Testlib' file onto my windowXP machine using Winscp to copy them into new HDD. I am not sure what I can do at this moment. I've gooled my problem but I could not find any problem like mine. |
Quote:
If it resides into the windows partition, then permissions are not relevant since these partitions will not support linux permissions. If it resides in the linux partition and you booted on single user, then the root partition will be mounted read only as I said above. In this caes, you will need to boot from a livecd, mount your root partition anywhere and then change the permissions or do whatever from there. |
All times are GMT -5. The time now is 07:54 AM. |