Skip to content
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

BUGFIX: don't try autocleanup inside system dirs #2672

Merged
merged 1 commit into from Mar 3, 2014

Conversation

rolandwalker
Copy link
Contributor

This safety feature addresses #2650 somewhat indirectly.
A list of system directories is defined. When the uninstall
process encounters a "system directory" it does not touch that
directory at all

  • no chmod on that dir
  • no search for broken symlinks in that dir
  • no cleanup of .DS_Store files in that dir
    Explicitly listed files from a pkg receipt are not affected by
    this change. Individual files will still be removed, even if
    those files are in a special "system directory"

This safety feature addresses Homebrew#2650 somewhat indirectly.
A list of system directories is defined.  When the uninstall
process encounters a "system directory" it does not touch that
directory at all
- no chmod on that dir
- no search for broken symlinks in that dir
- no cleanup of .DS_Store files in that dir
Explictly listed files from a pkg receipts are not affected by
this change.  Individual files will still be removed, even if
those files are in a special "system directory"
rolandwalker added a commit that referenced this pull request Mar 3, 2014
BUGFIX: don't try autocleanup inside system dirs
@rolandwalker rolandwalker merged commit 96dfc57 into Homebrew:master Mar 3, 2014
@rolandwalker rolandwalker deleted the lsb_no_delete_safety branch March 3, 2014 14:30
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant