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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to