This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Files with attribute temporary invisible in cygwin

On Mar  9 14:56, Pavel Kudrna wrote:
> On 9/3/2018 10:26, Corinna Vinschen wrote:
> > On Mar  9 00:43, Pavel Kudrna wrote:
> > > There exist files in windows 7 which can't be deleted using cygwin "rm"
> > > command. Files are visible from windows command line or Windows Explorer but
> > > are invisible by "ls -lA" command:
> > 
> >
> > 
> > Corinna
> Thanks.
> With the snapshot 2018-02-14 files with temporary attribute are visible and
> deletable.
> But still I have directories undeletable using "rm -R" which contain files
> with both hidden and temporary attributes set.

Duh.  I *knew* I had to remove this "hiding O_TMPFILE files from
readdir" at one point.  No wonder I wrote a matching comment right from
the start.

Of course this can't work with rm -r.  Given rm doesn't see this file it
never unlinks it, so the parent dir can't be removed.

I add this to my List Of Really Bad Ideas.

Still, what files have both attributes set?  What application is
creating these files?  Apart from Cygwin, of course, but Cygwin
O_TMPFILE files are delete-on-close.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]