Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   can not do rm on a file (http://www.linux-archive.org/ubuntu-user/473739-can-not-do-rm-file.html)

Tapas Mishra 01-07-2011 08:16 PM

can not do rm on a file
 
This is the most frustrating problem I have ever faced and posting here.
I have a file file.something ls -l output

-rwxr-xr-x 1 tapas tapas 30 2010-10-06 20:14 file1.txt
-rwxr-xr-x 1 tapas tapas 441712640 2011-01-08 02:40 file2.exe

now I do as root

rm file2.exe
rm: cannot remove `file2.exe': Read-only file system

How is this possible inspite of the read write permissions I am not
able to delete it I have tried it doing as root even.
The OS is 10.04 64 bit.


--
http://mightydreams.blogspot.com

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Steve Flynn 01-07-2011 08:25 PM

can not do rm on a file
 
On Fri, Jan 7, 2011 at 9:16 PM, Tapas Mishra <mightydreams@gmail.com> wrote:
> This is the most frustrating problem I have ever faced and posting here.
> I have a file file.something ls -l output
>
> -rwxr-xr-x 1 tapas tapas * * * *30 2010-10-06 20:14 file1.txt
> -rwxr-xr-x 1 tapas tapas 441712640 2011-01-08 02:40 file2.exe
>
> now I do as root
>
> rm file2.exe
> rm: cannot remove `file2.exe': Read-only file system
>
> How is this possible inspite of the read write permissions I am not
> able to delete it I have tried it doing as root even.
> The OS is 10.04 64 bit.

Which device is this file one? Please give the mount line for this device.

--
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

J 01-07-2011 08:28 PM

can not do rm on a file
 
On Fri, Jan 7, 2011 at 16:16, Tapas Mishra <mightydreams@gmail.com> wrote:

> rm: cannot remove `file2.exe': Read-only file system

I'd say that's a pretty big clue right there...

try this:

touch foo

and see if it says something similar...

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 09:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.