The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Stopping Win7 disk write permissions

    Discussion in 'Windows OS and Software' started by HoppityBob, Jun 19, 2012.

  1. HoppityBob

    HoppityBob Notebook Guru

    Reputations:
    0
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    15
    I've got a new system on which I have set up a dual boot with Win7 Premium and Linux. There is a second hd which I use for storing data and which is formatted as ntfs. Both os's have access to this but whenever I copy data from Linux, Win7 apparently wipes it and it's driving me nuts.

    For example, yesterday I copied all 200gigs of my photographs to this drive from my old laptop, which took ages in itself. I then did a few hours of work on the latest pictures and later rebooted into Win7 to have a go of Skyrim. While in Windows I then noticed that the Pictures folder on D: was empty ! I rebooted into Windows and this time it did a long chkdsk and recovered about 30 pics from over 10,000 which was absolutely marvellous, not :mad:

    Rebooting in Linux confirmed that everything was gone. I scanned the drive in both Linux and Windows and there are no errors. I then copied over some more files via Linux and scanned again, no problem. Back to Windows again and over half of them had disappeared by the time I logged in and opened explorer!

    So, currently I'm thinking I'm going to format this drive entirely as ext4 so that Windows cannot read it (except read-only via ext2fs) unless someone can suggest how I can make it read-only to Windows as is ? Linux is my main o/s and I've never had this issue previously on any machine (which includes Linux writing to Windows partitions for more than ten years now). Any ideas?
     
  2. n640nec

    n640nec Notebook Consultant

    Reputations:
    10
    Messages:
    175
    Likes Received:
    3
    Trophy Points:
    31
  3. HoppityBob

    HoppityBob Notebook Guru

    Reputations:
    0
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    15
    Thanks for the reply. That's interesting but I don't actually use hibernation or even sleep/suspend. Other than that it's exactly what's happening to me.

    I've been playing around a bit more testing it and files and directories are just randomly disappearing for no apparent reason. The only thing I've been able to find regarding read-only in Windows is this How to mount an NTFS partition read-only in Windows? - Super User so I'm probably just going to wipe it and format as ext4.
     
  4. yaxattax

    yaxattax Notebook Guru

    Reputations:
    19
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    15
    I think you need some way of telling Windows the drive is volatile (can be modified outside of its control). With some kind of network mounted drive, I expect this wouldn't happen, as Windows knows/expects changes to occur to the volume from other sources. One possibility would be to put a network share on the drive or have Windows mount it as if it were an external volume (nfs, samba .. ?)

    Of course, if it is not important to have access from Windows to this volume, ext3/4 is the easiest solution.

    Sorry my answer is vague, I tried to google search but I couldn't express properly what I was looking for to get any decent search results. Good luck resolving this.
     
  5. HoppityBob

    HoppityBob Notebook Guru

    Reputations:
    0
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    15
    Thanks for the responses, I appreciate them.
    I've given up on it and reformatted as ext4. The ext2fs app allows me to mount it as read-only (and also read/write, but I no longer trust Windows) so I can still pull data from it from Windows if required, say if I wanted to edit a file in some specific app.