Add "--no-overwrite-dir" to "tar" invocation for running as an arbitrary user#351
Merged
yosifkit merged 2 commits intodocker-library:masterfrom Nov 28, 2018
Merged
Conversation
…ary user This fixes "tar: .: Cannot utime: Operation not permitted" and "tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted" (which we get currently).
Member
Author
|
(Added another fix for |
yosifkit
approved these changes
Nov 28, 2018
tianon
added a commit
to infosiftr/stackbrew
that referenced
this pull request
Nov 28, 2018
- `ghost`: 2.6.2, more arches (thanks to nodejs/docker-node#921) - `joomla`: 3.9.1 - `matomo`: php-apcu to 5.1.14 (matomo-org/docker#125) - `openjdk`: `7u181-2.6.14-2~deb8u1` - `php`: fix arbitrary user permissions (docker-library/php#755) - `postgres`: `dpkg-divert` config file for correctness (docker-library/postgres#529) - `redis`: 5.0.2 - `wordpress`: add `--no-overwrite-dir` for arbitrary user (docker-library/wordpress#351)
|
Not sure why, but ever since this change I have to run this otherwise various WP operations fail (eg; uploading a new plugin requires ftp access, cannot create subdirections inside $ docker exec -t wordpress_1 chown www-data -R wp-contentLooking back, this problem makes sense since I have some stuff bind-mounted inside |
autophagy
pushed a commit
to crate/official-images
that referenced
this pull request
Dec 12, 2018
- `ghost`: 2.6.2, more arches (thanks to nodejs/docker-node#921) - `joomla`: 3.9.1 - `matomo`: php-apcu to 5.1.14 (matomo-org/docker#125) - `openjdk`: `7u181-2.6.14-2~deb8u1` - `php`: fix arbitrary user permissions (docker-library/php#755) - `postgres`: `dpkg-divert` config file for correctness (docker-library/postgres#529) - `redis`: 5.0.2 - `wordpress`: add `--no-overwrite-dir` for arbitrary user (docker-library/wordpress#351)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes
tar: .: Cannot utime: Operation not permittedandtar: .: Cannot change mode to rwxr-xr-x: Operation not permitted(which we get currently).This combined with docker-library/php#755 fixes part of what @wglambert noted in docker-library/php#754 (comment).