brew cleanup want to clean mysql data directory #14359

Closed
goofansu opened this Issue Aug 21, 2012 · 5 comments

Projects

None yet

4 participants

@goofansu

I installed mysql with pkg from mysql website without homebrew, but when I execute 'brew cleanup', it told:

find: /usr/local/mysql-5.1.63-osx10.6-x86_64/data: Permission denied
@jacknagel

This is happening in rm_DS_Store, which should probably be a little less aggressive.

@adamv
adamv commented Jan 18, 2013

Should a -perm be added to the find?

@MikeMcQuaid
Member

It's just looking in there rather than trying to clean it up so don't worry @goofansu.

@adamv
adamv commented Jan 18, 2013

Should we pipe to nul or something? If nothing, close this.

@adamv
adamv commented Jan 20, 2013

Closing since this was trying to remove a .DS_Store file it did not have permission to, not the data folder itself.

Possibly cleanup should not be doing this anymore, but I'll let someone else figure that out and submit a pull request.

@adamv adamv closed this Jan 20, 2013
@Sharpie Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Feb 19, 2013
@MikeMcQuaid MikeMcQuaid brew-cleanup: don't whine about permission denied.
Closes #14359.
f5db045
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.