delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/09/15:04:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=FMVFKqvl3A88Er4ULbgAONOFCw1meZYSsczdOJBVaY62nD+nqtx87
qq3RfM1x71E0RCpyCRqr+GXxPZEnvIlX7SiTOkgVqABUKeCqoG/aG618Eo3sZdHz
ifkLkseuX8WE3ooSQooQ/20k+AT28QXSD5/ev66OKmUFiga5fbr0XQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=DEjg7ZX7hBkW9bhH25rb/e5mITM=; b=ZILMtH7hYWZrIuEN1sM3zDiajMKO
UUJHfgT9N1U1EfmCpZ6PD8Xa05HkBDhWmrY1RL3wICX6BXwI8wNtTTDmtZGIE9fP
CYRV2mFTx+J1+RDlMpidc/RbT1qN5xqGPTfq7bMhVI/8ldyK1aKnbbJeJ3sIvd15
/n66l2y4ilZfv5M=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Really, Ideas, Apart, Hx-spam-relays-external:ESMTPA
X-HELO: mout.kundenserver.de
Date: Fri, 9 Mar 2018 21:04:26 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Files with attribute temporary invisible in cygwin
Message-ID: <20180309200426.GF5117@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4e49da21-7af2-cc3f-97cf-f3fef083a9dd AT mff DOT cuni DOT cz> <20180309092630 DOT GG32523 AT calimero DOT vinschen DOT de> <0085bce8-6318-9270-5bf9-31d65a61e861 AT mff DOT cuni DOT cz>
MIME-Version: 1.0
In-Reply-To: <0085bce8-6318-9270-5bf9-31d65a61e861@mff.cuni.cz>
User-Agent: Mutt/1.9.2 (2017-12-15)
X-UI-Out-Filterresults: notjunk:1;V01:K0:DAF/X8YtkUA=:TQnsgj4HkwusCv/iDXLhMq e179cTJPLKfhycVsgMgvDMbDh2AwD8HimVQmJS5YxhmhN7aj99PVY6iai0flhjFqr41zzpQxw x54spigNwpc46PgK8kVz+Gc54L3UxzL8/54BGMZ6PnsVjQ6y2KosmMP/041hulNN8Sd9fNIW3 e5Nr5daokgyFFyLk2ycLYsevVCURTT9BLNLAsTRqp8lPkJ9lMzKxFSCo7/+7wwTV8DfUxbdVX ok6+dvyePKO8FZ8jbG6LvV0jzx7NoOW5WliUZ65qZJWdYkg/1c7fwkgZSWZjEmrvIAd0O1DCP QxnWEe1YI/4VAJwXYU5gjrL45rx+9TSgXRXo19DYlqPJyOYVikIqntMewF1t8Yq9dXF9mtPQu onyOiTkgoMZrHWub8H4PX/xDGMqlB5oMghFnaTVvvmHkTH7aaAfDxhaqELZSUqj/Ceg+NfR5u nCt+rYVw7ttDMWSOHxsD2xPWbu7X5b6d33YOPkRi/Irf9GxfzVQcdY8ymfzwwjjWGU1m+8+u0 FDJAsx4LFWLVICVqzxsUR5Cm+PcK8TYxtOs5hTtxZAUS8v239+rPXO9hEKBPnwfIFNEGcoZBX D3ME02jttJirCkKQuzIlEkDodrXrvlsWK5erYX0MwVD26Y7zBg5mOyL887ZM0B+neRSlAFftp +KiDkHDZ6R/NwuGqm77tCFH6TMq4l5uKzulL/nDuHyUbS4Czth6I74NbY4+L4m0Pu91DcPraV uBGMQd+7aq3o7R31PPSnmgzQB3hbCwzSR77mlw==

--XF85m9dhOBO43t/C
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 "r=
m"
> > > command. Files are visible from windows command line or Windows Explo=
rer but
> > > are invisible by "ls -lA" command:
> >=20
> > https://cygwin.com/ml/cygwin/2018-02/msg00162.html
> >=20
> > Corinna
>=20
> Thanks.
>=20
> With the snapshot 2018-02-14 files with temporary attribute are visible a=
nd
> deletable.
>=20
> 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

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

--XF85m9dhOBO43t/C
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqi6MoACgkQ9TYGna5E
T6BwQBAAlKRnfLHvbeOJjSUj/rHkXJ2QUudOx6fvq5GJYAGCcqF5lr0CwTXZNkUA
4RVr5sBq052//Hu8Sk+kXsmZIoYHcguUl72eHOZ4PIISqjNeBlJ3cMlxzAemaaaS
Pb8Ql099UJe6oRKG6RtDXyNSQKSiTshCu0JB6hKrL2mbi5V2SV/v5sBiDZxiHpxb
+dBIErJ+m1ltacdytguFInb652bhI3PAgHKfMpZF9zt44ybwcLkbUIVqpR6xfHIP
csfWh5v1J16AQJAgxyhGui2VKIXgZhPlzQY6rOpT9v6V+YBgFeEcOpW1wUA/6CVx
Vb8sUdO2NFU2/OyO/UAYzSXAkfyT6FKsBH98txlW38Gyk4DQi0bQcoUoXnfjuY9E
RJyLjZUN1UiK1zbfVllAlg1AvFxVPh109MX1P/iJ089zkan7T+hoTMLhBFjFAegr
8q+7A5OL6JWnMEH9m+p7jUombv1TQnO6Bl4yEHizlOV74QuiLKPyanQx3SbUrMO+
KgEDYighBQ5jClLj9xXIoULJrgbwwsztq0x9QIirOj9ethtq/B3eT9RXef5A3ItQ
07hYcA3hB5xGWENF7fv7L37Sa1kTlnXtpigx4DPcc0SUFsIzVm0g+mMIiu+y3TVR
0vfYB9W4pq+XWq7vt/2R933forGRPwzy2Vxl1s77nYKZowxpERw=
=XgAE
-----END PGP SIGNATURE-----

--XF85m9dhOBO43t/C--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019