Re: ls/stat on OneDrive causes download of files

2024-03-09 Thread Marcin Wisnicki via Cygwin
I did more testing and found out that the problem does not happen in cygwin by default because cygwin mounts with acl which doesn't do header sniffing while msys uses noacl. Testing on an mp4 file in OneDrive, when I use noacl in cygwin it triggers the read as well. After upgrading to the test

Re: ls/stat on OneDrive causes download of files

2024-03-08 Thread Marcin Wisnicki via Cygwin
On 2024-03-08 17:21, Corinna Vinschen wrote: On Mar 8 14:56, Corinna Vinschen via Cygwin wrote: On Mar 8 08:15, Jeffrey Altman via Cygwin wrote: On 3/8/2024 7:52 AM, Thomas Wolff via Cygwin wrote: Am 08.03.2024 um 11:37 schrieb Corinna Vinschen via Cygwin:    FILE_OPEN_NO_RECALL

ls/stat on OneDrive causes download of files

2024-03-05 Thread Marcin Wisnicki via Cygwin
If I invoke ls or anything else that does stat inside OneDrive folder it will trigger download of all files. OneDrive uses placeholder files[1] to represent remote files. I'm guessing reading file content in stat is to support detection of actually executable files as in here[2]? I think this