read only filesystem
Hello All
i have a vfta partition mounted on /mnt/mydir When i try to dlete a file on this partition , i get a strange message from rm unable to delete file ...read only filesystem .. Yet , the permission on this file enable me to delete it .. i am the owner ...in fact in this directory ..i can't even rename a file An idea ..? Thanks for help |
If it was mounted with ro (look at your /etc/fstab) then you
won't be able to delete it, no matter who is the owner or what the permissions say. Cheers, Tink |
Is vfta a file system? Never heard of it...
Anyway, post here the output of cat /etc/fstab and we'll try to help. |
i think he means vfat ...
|
Thanks for your help
MOre Details . I have made a mistake in my previous message : it's a vfat filesystem How can i see if the partition is mounted with ro ...? the file /etc/fstab hasn't changed ... thanks .. |
Just type mount<enter>
That should list the status of all mounted filesystems. Cheers, Tink |
Yes, sure...
Just look for the line where it states your partition mounted on /mnt/mydir, as you say. You should find some parameters after the "mounted on" section. "ro" is read-only and no permission is going to change that. If you find "rw" the partition is read-write, and the problem is elsewhere. |
When i use mount command , the partition /dev/hdb.. on /mnt/mydir is mounted in rw mode ..
Yet i can't for example delete an image file on /mnt/mydir ... Rm tells me : unable to remove file ..read only filesystem |
ls -lr /mnt/mydir
Did the files you're trying to delete come from a CD by any chance? Cheers, Tink |
ls -lr tells me that i have read , write , and execute permisions on all the file
|
And you're positive it's vfat and not ntfs?
Cheers, Tink |
Thanks
No vfat filesystem ... MOunt command tells me that :/dev/hdb4 on /mnt/mydir ( vfat ) ..rw strange ..isn't it ? |
How about the permissions on /mnt/mydir
itself? Cheers, Tink |
Thanks
Here's the output given by ls -lr for /mnt/mydir drwxr-xr-x Full permissions for this owner of the directory ... |
Hello All
NO more Ideas for this problem ? Perhaps the partition is corrupted ..? because of an unexpected power off ...? |
All times are GMT -5. The time now is 03:09 AM. |