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

Change permissions handling to be more conservative #74

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

tianon
Copy link
Member

@tianon tianon commented Apr 21, 2015

This allows things like bind-mounting into /var/www/html/wp-content/themes/example and not clobbering host permissions, making theme development and testing much simpler (change PHP file on host, reload page, etc).

This allows things like bind-mounting into `/var/www/html/wp-content/themes/example` and not clobbering host permissions, making theme development and testing much simpler (change PHP file on host, reload page, etc).
@tianon
Copy link
Member Author

tianon commented Apr 21, 2015

Essentially, we chown the content we copy from instead of the copied content, so when the files get copied in they already have the correct permissions. Then we just have to clean up files we create afterwards which will be root:root.

@yosifkit
Copy link
Member

LGTM

@yosifkit
Copy link
Member

Needs docs 😉

@tianon
Copy link
Member Author

tianon commented Apr 21, 2015

Yeah.... Shhh 😉

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.

2 participants