Created
July 24, 2019 12:23
-
-
Save yariksheptykin/5f208a33f1cc0933c05a5e3573c9bcf7 to your computer and use it in GitHub Desktop.
finds root owned pimcore versions
This file contains 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
ls -la var/versions/object/ | awk '{print $NF}' | xargs -I % sh -c 'echo var/versions/object/% && ls -la var/versions/object/% | grep root' | |
ls -la var/versions/object/g530000 | grep root | awk '{print $NF}' | xargs -I % chown -R www-data:www-data var/versions/object/g530000/% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment