You are here

W10 PC suddenly 'Read Only" files?

For anything relating to music-making on Windows computers, with lots of FAQs. Moderated by Martin Walker.

Re: W10 PC suddenly 'Read Only" files?

Postby james090 » Sat Feb 09, 2019 10:56 pm

CS70 wrote:Yes. Well no, don't pull it when you're writing a file, or you will lose that one file. But if you aren't doing anything on the disk , it's fine. Open Device Manager and right click on you disk - one of the tabs is the "policies". If it's in "quick removal" you're alright.

I keep my USB disks on write cache because I also work with video and it's still a little advantageous (and the disk is never removed anyways), but with USB3.0 I could probably use the synch write.

Oh yes i know not to pull this while its writing anything, but apart from that if its just sitting there, it can just be disconnected from Windows and its fine? I'm sure this is the exFAT format I used (as was told this was the best for MacOS and Windows swapping).

I'm sure this does have an 'eject' in MacOS so there's no problem on that side. It was just the Windows side really.

I just now need to sort out the read only thing as described above to see if that works :)
james090
Regular
Posts: 210
Joined: Tue Aug 01, 2017 8:15 am

Re: W10 PC suddenly 'Read Only" files?

Postby CS70 » Sat Feb 09, 2019 10:56 pm

Wonks wrote:If you can remember floppy disks, you simply ejected them once the system had stopped writing to them, with no issues at all. Unless your external hard drive is configured as a system drive, it should be pretty safe to unplug once any file transfer procedure is completed. For some reason USB stick handling is different, with windows writing to and checking the drive's file tables fairly constantly. Probably a good reason behind it but it still seems rather stupid to me.

Yes, It was an issue of speed. The I/O operation could terminate (allowing the application to continue working) very quickly as the data was written to ram, and then the OS then wrote the cache at the first moment the I/O bus became available. It made applications much smoother when used on/with a flash disk. Nowadays with fast SSD controllers and on board cache is redundant. Would have been cool for sticks to have a led as well, but that was when led were very new and expensive as well..

As a note, certain applications may keep a write handle open (for example, Windows Explorer under certain circumstances, or the standard shell when you are located in a directory) without showing any indication of it to the user.. You can still remove the disk, but depending on what the application does with that handle, it might end up confused. That's not an issue with either explorer or the shell, and generally not a common problem in my experience.
User avatar
CS70
Jedi Poster
Posts: 6501
Joined: Mon Nov 26, 2012 1:00 am
Location: Oslo, Norway
Silver Spoon - Check out our latest video and the FB page

Re: W10 PC suddenly 'Read Only" files?

Postby CS70 » Sat Feb 09, 2019 11:04 pm

james090 wrote:
CS70 wrote:Yes. Well no, don't pull it when you're writing a file, or you will lose that one file. But if you aren't doing anything on the disk , it's fine. Open Device Manager and right click on you disk - one of the tabs is the "policies". If it's in "quick removal" you're alright.

I keep my USB disks on write cache because I also work with video and it's still a little advantageous (and the disk is never removed anyways), but with USB3.0 I could probably use the synch write.

Oh yes i know not to pull this while its writing anything, but apart from that if its just sitting there, it can just be disconnected from Windows and its fine? I'm sure this is the exFAT format I used (as was told this was the best for MacOS and Windows swapping).

I'm sure this does have an 'eject' in MacOS so there's no problem on that side. It was just the Windows side really.

I just now need to sort out the read only thing as described above to see if that works :)

Just check if you have "desktop.ini" in the read-only directory. "read only" is really a misnomer for directories (or better, its meaning has been extended to the point of being totally mangled) as for folders "read only" means "read the properties from desktop.ini" and it's changed if even look at the directory. I am not sure but I guess it's for backwards compatibility - the much bigger property set that you can have on a folder nowadays (e.g. sharing, folder type) probably don't fit in the older file system node structure so putting them in desktop.ini allows them to exist while also allowing the disk to be read by, say, and old Windows NT (NTFS was born quite a few years ago).

The folder is "read only" because you aren't supposed to modify it directly but only thru an application or shell which is aware of desktop.ini (e.g. explorer or the implementation of command line security and sharing commands, such as net.exe etc).

By taking ownership you then prevent the operating system to change it back to "read only" - but it's not a good thing.

On the other side, if you find that you cannot write files in the directory then of course you do have a different issue.
User avatar
CS70
Jedi Poster
Posts: 6501
Joined: Mon Nov 26, 2012 1:00 am
Location: Oslo, Norway
Silver Spoon - Check out our latest video and the FB page

Re: W10 PC suddenly 'Read Only" files?

Postby james090 » Sat Feb 09, 2019 11:09 pm

Right so if it isn't an issue, i'll leave it as is. I'll be honest, I never tried read/write, just saw the Read only' kept showing as default - maybe it doesn't mean anything when in this format for Mac/PC?

I shall test all this tomorrow, and report back, as it could be a storm in a teacup :)
james090
Regular
Posts: 210
Joined: Tue Aug 01, 2017 8:15 am

Re: W10 PC suddenly 'Read Only" files?

Postby james090 » Sun Feb 10, 2019 1:23 pm

Ok so, with regards my questions, it looks like I am ok to just unplug this exFAT drive as the posts here suggest without ejecting (as I don't have an eject!) as long as its not writing/light on, i should be ok to remove.

The Read Only is still on for folders in this drive, but again this maybe a default of the format i need to use? I did drag another file from Desktop to the drive/read-only folder and it copied over fine. So it did write to the drive.

I am yet to write/read from the Mac though.

My only problem now though is suddenly all my folders that i open, the sidebar, (with favourite locations/folders) is now completely blank and missing on every folder i open in W10? Whats happened here??
:madas:
james090
Regular
Posts: 210
Joined: Tue Aug 01, 2017 8:15 am

Re: W10 PC suddenly 'Read Only" files?

Postby CS70 » Mon Feb 11, 2019 11:49 am

james090 wrote:My only problem now though is suddenly all my folders that i open, the sidebar, (with favourite locations/folders) is now completely blank and missing on every folder i open in W10? Whats happened here??
:madas:

Doubt it has anything to do with the rest. This can be due to many reasons, from hiding them without realizing, to turning off the PC while it's shutting down.. assuming you have not changed permissions etc, the best is to google a little and try the various methods you find in many websites and see if you can restore the link.
User avatar
CS70
Jedi Poster
Posts: 6501
Joined: Mon Nov 26, 2012 1:00 am
Location: Oslo, Norway
Silver Spoon - Check out our latest video and the FB page

Previous