Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-08-2004, 09:04 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Rep:
|
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
|
|
|
|
08-08-2004, 09:23 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
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
|
|
|
|
08-08-2004, 09:23 PM
|
#3
|
|
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509
Rep:
|
Is vfta a file system? Never heard of it...
Anyway, post here the output of
cat /etc/fstab
and we'll try to help.
|
|
|
|
08-08-2004, 09:35 PM
|
#4
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
i think he means vfat ...
|
|
|
|
08-08-2004, 09:38 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
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 ..
|
|
|
|
08-08-2004, 09:50 PM
|
#6
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Just type mount<enter>
That should list the status of all mounted filesystems.
Cheers,
Tink
|
|
|
|
08-08-2004, 09:53 PM
|
#7
|
|
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509
Rep:
|
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.
|
|
|
|
08-08-2004, 09:55 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
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
|
|
|
|
08-08-2004, 10:04 PM
|
#9
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
ls -lr /mnt/mydir
Did the files you're trying to delete come from a CD
by any chance?
Cheers,
Tink
|
|
|
|
08-08-2004, 10:12 PM
|
#10
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
ls -lr tells me that i have read , write , and execute permisions on all the file
|
|
|
|
08-08-2004, 11:41 PM
|
#11
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
And you're positive it's vfat and not ntfs?
Cheers,
Tink
|
|
|
|
08-09-2004, 12:01 AM
|
#12
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
Thanks
No vfat filesystem ...
MOunt command tells me that :/dev/hdb4 on /mnt/mydir ( vfat ) ..rw
strange ..isn't it ?
|
|
|
|
08-09-2004, 12:11 AM
|
#13
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
How about the permissions on /mnt/mydir
itself?
Cheers,
Tink
|
|
|
|
08-09-2004, 12:16 AM
|
#14
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
Thanks
Here's the output given by ls -lr for /mnt/mydir
drwxr-xr-x
Full permissions for this owner of the directory ...
|
|
|
|
08-09-2004, 01:43 AM
|
#15
|
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
Hello All
NO more Ideas for this problem ?
Perhaps the partition is corrupted ..? because of an unexpected power off ...?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|