[
https://issues.apache.org/jira/browse/NETBEANS-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bien closed NETBEANS-3094.
----------------------------------
Fix Version/s: 26
Resolution: Fixed
closing via https://github.com/apache/netbeans/issues/8281
> 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: 26
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists