Search Issue Tracker

Fixed in 2020.2

Votes

0

Found in

2019.3

2020.1.0b5

2020.2

Issue ID

1237777

Regression

No

[Package Manager] Removing package with a read-only file throws UnauthorizedAccessException if package is in Packages directory

Packman

-

How to reproduce:
1. Open the user-supplied project "packagebugtest" from the drive link
2. Open the Package Manager and locate the "OpenVR SDK Test" package
3. Click "Remove"

Expected result: the package is removed from the Packages folder
Actual result: an UnauthorizedAccessException is thrown due to the package having a read-only file

Reproducible with: 2019.3.15f1, 2020.1.0b10, 2020.2.0a13
Could not test with: 2017.4.40f1 (no Package Manager), 2018.4.23f1 (package-related errors preventing Package Manager from being available)

Notes:
1. Reproducible when the package folder is dropped in the <project>/Packages folder and it has at least one read-only file.
2. Not reproducible on OSX.

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2021.1.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.