You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/02 20:58:00 UTC

[jira] [Resolved] (NETBEANS-3094) NBI Windows Cleaner.exe doesn't delete read-only files

     [ https://issues.apache.org/jira/browse/NETBEANS-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Procházka resolved NETBEANS-3094.
---------------------------------------
    Fix Version/s: 11.2
       Resolution: Fixed

Fix was merged.

> NBI Windows Cleaner.exe doesn't delete read-only files
> ------------------------------------------------------
>
>                 Key: NETBEANS-3094
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3094
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: platform - Other
>    Affects Versions: 11.1
>         Environment: Windows
>            Reporter: Lars Bruun-Hansen
>            Assignee: Lars Bruun-Hansen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.2
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Problem: The Windows Cleaner process isn't able to delete files with read-only attribute set.
>  
> (Windows Cleaner is a small C application which is part of *NBI* - NetBeans Installer)
>  
> This is in particular a problem when the uninstaller tries to delete a bundled JRE as the JRE has files with read-only attribute set.
> For the record: this has always been a problem. The Unistaller leaves files behind and the main reason is this. Note that the equivalent on Linux/Mac, the {{cleaner.sh}} script, doesn't suffer from the same problem as it does 'rm -f' operation.
> It is rather trivial to fix. I'll file a PR.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists