Skip to content

Force change permissions before deleting directory #1940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SitiSchu
Copy link
Contributor

@SitiSchu SitiSchu commented Apr 8, 2025

Fixes #1493

This will skip the permission checks before deleting a directory since they don't seem to work on Windows.
Also, if we're deleting a folder the permissions aren't really that important.

@SitiSchu SitiSchu requested a review from a team as a code owner April 8, 2025 08:08
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 59.29%. Comparing base (5c15568) to head (e318ce3).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/rez/utils/filesystem.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1940   +/-   ##
=======================================
  Coverage   59.28%   59.29%           
=======================================
  Files         126      126           
  Lines       17218    17216    -2     
  Branches     3017     3015    -2     
=======================================
  Hits        10208    10208           
+ Misses       6325     6323    -2     
  Partials      685      685           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SitiSchu SitiSchu force-pushed the 1493_win_pkg_cache_issue branch from b04858c to e318ce3 Compare April 8, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package cache fails to delete on Windows due to .git folder
1 participant