Skip to content

Conversation

@schlessera
Copy link
Member

Mac OS X puts some of the system folders like /var and /tmp into a special hidden /private folder. When checking whether the folder to delete is indeed within a temp folder (as a safeguard), we should also allow for a version of the temp folder prefixed with /private.

Mac OS X puts some of the system folders like `/var` and `/tmp` into a special hidden `/private` folder. When checking whether the folder to delete is indeed within a temp folder (as a safeguard), we should also allow for a version of the temp folder prefixed with `/private`.
@schlessera schlessera requested a review from a team as a code owner June 1, 2019 06:22
@schlessera schlessera added this to the 2.1.1 milestone Jun 1, 2019
@schlessera schlessera merged commit 8a004e9 into master Jun 13, 2019
@delete-merged-branch delete-merged-branch bot deleted the support-mac-temp-folder branch June 13, 2019 15:01
@schlessera schlessera modified the milestones: 2.1.1, 2.1.2 Jul 2, 2019
schlessera added a commit that referenced this pull request Jan 5, 2022
Allow for temp folder to be prefixed with `/private`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants