r/linuxquestions • u/greyboy_59 • 11d ago
Resolved Windows is blocking my files from Linux
So I've been using Fedora as my main OS and Windows as my secondary (because of the Unversity) so I installed a drive that is shared between these two. I've been using it to storage my personal files so I have access to them on both OS without using a cloud service or USB.
Everything has been running as planned, but then I just wanted to hide a folder from Windows and when I booted Fedora, all folders where locked, I managed to unlock them but when I again booted Windows to do some homework, then on Fedora everything blocked again, this time not the main folders but everything inside them.
Does anyone know how to fix this? After this I'll probably uninstall Windows, fuck ass OS now messing with my files.
Edit: here is what I tried
- Fast startup alr disabled on Windows
- Full control granted for all users on Windows as well
- Please note: I'm able to write on my disk on Fedora without a problem, it's just that Windows is blocking everything that already exists within the drive
Edit: thank you, I decided to backup my files and format my disk. I'll keep Windows because of the University but I will change my workflow and use my drives only on Linux.
3
u/Johnden_ EndeavourOS 11d ago
If both operating systems are on one drive, then sometimes Windows doesn't like what isn't Windows. Having them on seperate drives might work.
3
u/DerAndi_DE 11d ago
Sounds like a permission problem. What file system did you use for that shared partition? I recommend not using NTFS, that can lead to such problems. Ext4 cannot be read by Windows. ExFAT is IMHO a good choice, it doesn't have permissions and supports large files.
3
u/eldoran89 11d ago
What do you mean by locked? I mean it's a well know issue that windows fucks up permissions for Linux....if you mean there is a lock on the file on a more basic level, the fast boot and similar would come to mind that might keep a handle on files even though windows is not bootet...
1
u/vilhelmobandito 11d ago
I'm pretty sure there are several programs for windows, that allow you to read and copy ext4 files to your windows ntfs partition to modify them there. And then you can move back those files, one on linux.
1
u/MintAlone 11d ago
Win files read only to linux? Have you turned off fast start in win. Default is enabled, means it never really shuts down, it hibernates leaving its filesystems locked and read-only to linux.
1
u/SuAlfons 11d ago
Another reason why Windows resp. NTFS can be troublesome in connection with Linux is Windows using Hibernation - or more commonly Quick Start (Quick Boot, however. It's a kind of "Hibernation to the Login Screen" that Windows does to speed up booting.
This usually leaves the NTFS partition in an "unclean" state, meaning not marked for shutdown and file handles remaining open. This usially results in Windows complaining about files having been changed under its nose. But maybe it may also lockup files?
Anyway, I use NTFS successfully on several dual-boot home systems.
But
1
u/Royal-Wear-6437 11d ago
Have you disabled "Fast Boot" in Windows? If not, when you shut it down it actually hibernates and leaves the disks marked as in use.