Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
Hi Jeffrey, looks like writing our mails overlapped: https://cygwin.com/pipermail/cygwin/2024-March/255622.html On Mar 6 13:55, Jeffrey Altman via Cygwin wrote: > On 3/6/2024 12:19 PM, Corinna Vinschen via Cygwin wrote: > > We can add an explicit call to > > > >RtlSetProcessPlaceholderComp

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 18:19, Corinna Vinschen via Cygwin wrote: > On Mar 6 06:54, Brian Inglis via Cygwin wrote: > > On 2024-03-06 06:28, Corinna Vinschen via Cygwin wrote: > > > On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > > > > Given these placeholder files are actually reparse points of type > > >

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Jeffrey Altman via Cygwin
On 3/6/2024 12:19 PM, Corinna Vinschen via Cygwin wrote: We can add an explicit call to RtlSetProcessPlaceholderCompatibilityMode (PHCM_EXPOSE_PLACEHOLDERS); and we can recognize the IO_REPARSE_TAG_FILE_PLACEHOLDER and IO_REPARSE_TAG_CLOUD_* tags during symlink evaluation, but even then we s

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 06:54, Brian Inglis via Cygwin wrote: > On 2024-03-06 06:28, Corinna Vinschen via Cygwin wrote: > > On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > > > Given these placeholder files are actually reparse points of type > > > IO_REPARSE_TAG_FILE_PLACEHOLDER, we can handle them as symb

Re: Native posix_spawn() in Cygwin?

2024-03-06 Thread Roland Mainz via Cygwin
On Wed, Mar 6, 2024 at 1:08 AM Mark Geisert via Cygwin wrote: > On 3/5/2024 2:42 PM, Dan Shelton via Cygwin wrote: > > On Mon, 4 Mar 2024 at 07:45, Mark Geisert via Cygwin > > wrote: > >> On 3/3/2024 7:27 PM, Dan Shelton via Cygwin wrote: > [...] > >>> strace does not help, as I need the Win32 c

Building Estimates

2024-03-06 Thread gencimusajkf305--- via Cygwin
Hi, Our firm, "Bricks Estimating LLC," specializes in construction estimation. We offer cost estimation and quantity take-off services to general contractors and subcontractors in all trades (concrete, painting, electrical, plumbing, roofing, HVAC, framing, etc.). We provide project estimate

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Brian Inglis via Cygwin
On 2024-03-06 06:28, Corinna Vinschen via Cygwin wrote: On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: On Mar 5 19:54, Marcin Wisnicki via Cygwin wrote: If I invoke ls or anything else that does stat inside OneDrive folder it will trigger download of all files. OneDrive uses placeholder

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > On Mar 5 19:54, Marcin Wisnicki via Cygwin wrote: > > 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. > > >

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 5 19:54, Marcin Wisnicki via Cygwin wrote: > 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 detecti

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 5 23:38, Dan Shelton via Cygwin wrote: > On Sat, 24 Feb 2024 at 14:11, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 23 22:15, Dan Shelton via Cygwin wrote: > > > HOWEVER, there is another Cygwin bug: > > > "getent group mywingrp1" does not list any group members, even after > > > "n