LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-18-2007, 12:02 PM   #1
bbell2000
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
File system mounted rw but behaves as if ro


From /etc/fstab:

/dev/hdb5 /home/public2 ext3 defaults 1 2

From mount:

/dev/hdb5 on /home/public2 type ext3 (rw)

When I try to touch a file in /home/public2, I get the following error:

touch: setting times of `/home/public2': Read-only file system

If I unmount the filesystem and remount it rw, it works fine for 5 or 10 minutes. Then it reverts to read-only. Directory permissions are set correctly and the read-only behavior is enforced for all users, including root.

I'm assuming there's some security setting that's causing the filesystem to be remounted ro, but haven't a clue as to where I should start looking.

Suggestions?
 
Old 08-18-2007, 02:32 PM   #2
bbell2000
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Problem resolved

Turns out that the file system is being remounted ro because of a journaling error. Diagnostics indicate that my hard drive is going bad. I'm sure replacing the drive will clear the problem.
 
  


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
what happens before the file system is mounted? ltordsen Linux - Hardware 6 10-07-2006 06:34 PM
Detect storage device by checking mounted file system to Linux syseeker Programming 4 02-06-2006 10:14 AM
program run from nfs-mounted directory behaves badly jabel5 Other *NIX 3 10-05-2005 08:40 AM
browsing mounted file system explorer Linux - General 4 05-02-2003 07:55 PM
A mounted file system inside an NFS mount paradoxlight Linux - Networking 1 04-24-2002 08:34 PM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration