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

Chmod temp folder #85

Merged
merged 2 commits into from Oct 11, 2012
Merged

Chmod temp folder #85

merged 2 commits into from Oct 11, 2012

Conversation

desandro
Copy link
Member

@desandro desandro commented Oct 8, 2012

For issue #69

I was experiencing the bad file permission problem. I tracked it down to the temp folder that gets created in .copy(). This fix chmods that temp folder to the permissions of the cached folder.

After implementing this change, bower install jquery properly installed the component with accessible file permissions.


The test is a bit sloppy. You might know how to refactor it better.


Head's up, Package.prototype.download() also uses tmp.dir(), but I'm not sure the best way to chmod that.

fat added a commit that referenced this pull request Oct 11, 2012
@fat fat merged commit a134950 into master Oct 11, 2012
@fat
Copy link
Contributor

fat commented Oct 11, 2012

thanks @desandro ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants