You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "lbruun (Jira)" <ji...@apache.org> on 2019/09/12 19:56:00 UTC

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

lbruun created NETBEANS-3094:
--------------------------------

             Summary: 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: lbruun


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.2#803003)

---------------------------------------------------------------------
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