| delorie.com/archives/browse.cgi | search |
| 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:subject:references:from:to:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=XDTAGgi5h4xngOcn | |
| A4pKT8jgnV7c86OoiNqoFOzq2w2ohQLgDXXJ6plC8dz2mvy2dkxQhLafE7lrzLIA | |
| MmtofF4gAwFwPnxYi5fPT49jfndBVElfP1KsapgnwjKll/ML/2/zY4XVNK4B8BGU | |
| DKo94Cl6FHouAClq5U8kJGMW/KY= | |
| 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:subject:references:from:to:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; s=default; bh=ZTjQZHN0sDrdnRh0du5oy5 | |
| zlZp4=; b=jwt8z/tSFi/Ry4IezEujuR002HzkceP7Ixe11YoZdkp7qcF3e2q2+G | |
| U0Vcs1V0pYauCnch4fvAJ8TDxIT9hVjOMOgPVZ9EcAYLita4W+sOT5XQ8oSrU9n1 | |
| v3QuEZXFPDMq65FNn1QJUnFe2xAlPcDzSTGaQxmJUNjcizNNZpAFg= | |
| 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=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=instruments, Instruments, national, H*u:6.1 |
| X-HELO: | mail.karlov.mff.cuni.cz |
| Subject: | Re: Files with attribute temporary invisible in cygwin |
| 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> <20180309200426 DOT GF5117 AT calimero DOT vinschen DOT de> <20180309202925 DOT GH5117 AT calimero DOT vinschen DOT de> |
| From: | Pavel Kudrna <Pavel DOT Kudrna AT mff DOT cuni DOT cz> |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <850a55d1-44df-4b1c-9d36-c6f4061fb109@mff.cuni.cz> |
| Date: | Mon, 12 Mar 2018 14:09:07 +0100 |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20180309202925.GH5117@calimero.vinschen.de> |
On 9/3/2018 21:29, Corinna Vinschen wrote:
> On Mar 9 21:04, Corinna Vinschen wrote:
>> 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:
>>>>
>>>> https://cygwin.com/ml/cygwin/2018-02/msg00162.html
>>>>
>>>> Corinna
>>>
>>> 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.
Clear.
>> 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.
Files with both hidden and temporary attributes on belong to LabView
2015. I found 2 in "C:\ProgramData\National Instruments\NI-DAQmx"
{509E1DB5-B477-49b8-AF59-114DC801074C}RrWr.lock
{509E1DB5-B477-49b8-AF59-114DC801074C}Write.lock
and 3 in
"C:\ProgramData\National Instruments\Shared
Memory\platform\memory\sharedMemoryFiles"
48d09ae7-0894-4c28-ab25-b6f1cdea221f
pimmInternalFloatingSharedHeap
pimmPublicFloatingSharedHeap.
> New snapshot up at https://cygwin.com/snapshots
With the snapshot 2018-03-09 all mentioned files are visible by "ls" and
"rm -r" removes directories with them (I do it offline after reboot to
Windows PE).
Thank you.
With greetings
Pavel Kudrna
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |