LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] puzzle of the day: RHEL has files seemingly undoing edits

[ILUG] puzzle of the day: RHEL has files seemingly undoing edits

Brendan Kehoe brendan at zen.org
Tue Feb 12 12:44:41 GMT 2008


Have any of you ever heard of this?  Sent by someone I work with who's 
got very sporadic email access, so I'm probably just going to call him 
on the phone once I can come up with (or find) any theories on what 
could be doing this.  As far as I know it's not under anything like CVS 
or SVN.

    I'm running red hat linux. Several times the PC powered down
    unexpectedly due to power outs.....this could be the source of my
    problems...

    Anyway, I'm seeing files which I edit and change regressing back,
    all by themselves to previous versions of the file.
    Thus I edit the file, save, close, and do anything (md5sum, copy,
    wc, whatever) with the file, and it works fine.
    Then I come back in 20 minutes, and again try to use the file (run
    md5sum, whatever) and it fails,
    I check why and the file I had just updated is back to its original
    file!!

    My solution is to make the file read only (chmod 444) after I close
    it, and then it is not written over with the old version.  I would
    have closed all editors etc.

    During powerup the system did file file system corruption problems
    and ran fsck and e2fsck which did (seemingly) find and fix issues.


Thanks for any suggestions,
B




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell