LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-08-2004, 09:04 PM   #1
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
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
 
Old 08-08-2004, 09:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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
 
Old 08-08-2004, 09:23 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
Is vfta a file system? Never heard of it...
Anyway, post here the output of
cat /etc/fstab
and we'll try to help.
 
Old 08-08-2004, 09:35 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
i think he means vfat ...
 
Old 08-08-2004, 09:38 PM   #5
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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 ..
 
Old 08-08-2004, 09:50 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Just type mount<enter>

That should list the status of all mounted filesystems.


Cheers,
Tink
 
Old 08-08-2004, 09:53 PM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
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.
 
Old 08-08-2004, 09:55 PM   #8
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 08-08-2004, 10:04 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
ls -lr /mnt/mydir
Did the files you're trying to delete come from a CD
by any chance?


Cheers,
Tink
 
Old 08-08-2004, 10:12 PM   #10
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
ls -lr tells me that i have read , write , and execute permisions on all the file
 
Old 08-08-2004, 11:41 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
And you're positive it's vfat and not ntfs?


Cheers,
Tink
 
Old 08-09-2004, 12:01 AM   #12
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks
No vfat filesystem ...
MOunt command tells me that :/dev/hdb4 on /mnt/mydir ( vfat ) ..rw
strange ..isn't it ?
 
Old 08-09-2004, 12:11 AM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
How about the permissions on /mnt/mydir
itself?


Cheers,
Tink
 
Old 08-09-2004, 12:16 AM   #14
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks
Here's the output given by ls -lr for /mnt/mydir
drwxr-xr-x
Full permissions for this owner of the directory ...
 
Old 08-09-2004, 01:43 AM   #15
lardino
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Hello All
NO more Ideas for this problem ?
Perhaps the partition is corrupted ..? because of an unexpected power off ...?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
read-only filesystem karunesh Linux - General 1 09-30-2005 10:04 AM
read only filesystem ONLY greg108 Linux - General 3 08-26-2004 06:11 PM
read-only filesystem the_gorf Red Hat 1 06-29-2004 11:27 PM
Read-only filesystem neillans Linux - General 2 06-11-2004 01:27 PM
how do I change the filesystem from read-only to read-write? les_chow Linux - Newbie 5 05-26-2004 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration