LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   drwxr-xr-x but read-only? (https://www.linuxquestions.org/questions/linux-newbie-8/drwxr-xr-x-but-read-only-430231/)

marychin 03-31-2006 01:59 AM

drwxr-xr-x but read-only?
 
Hi.

Funny... one of my filesystem has gone read-only without my command...
As root, I get these:
=================================================================
# rm /usr/bin/bous
rm: remove write-protected regular file `/usr/bin/bous'? y
rm: cannot remove `/usr/bin/bous': Read-only file system

# cat >/usr/bin/gal
/usr/bin/gal: Read-only file system.

# ll -a /usr
total 232
drwxr-xr-x 19 root root 4096 Oct 11 2003 .
drwxr-xr-x 25 root root 4096 Feb 15 15:50 ..
drwxr-xr-x 2 root root 61440 Aug 1 2005 bin

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 6.3G 5.8G 160M 98% /usr
=================================================================
Is it because the filesystem is almost full?

Help will be much appreciated!

:)

acid_kewpie 03-31-2006 02:58 AM

this is clearly not a members intro, please pick your forum more carefully next time. moved to Linux - Newbie

nx5000 03-31-2006 03:09 AM

It may be mounted as read-only?

Code:

grep hda2\  /etc/mtab

marychin 03-31-2006 09:12 AM

$ grep hda2\ /etc/mtab
/dev/hda2 /usr ext3 rw 0 0

nx5000 03-31-2006 09:30 AM

Quote:

Originally Posted by marychin
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 6.3G 5.8G 160M 98% /usr

Ermmm there is something missing here


All times are GMT -5. The time now is 07:47 PM.