File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -319,12 +319,12 @@ set-codebase-owner:
319319 @echo " Setting codebase/ folder owner back to $( shell id -u) :101"
320320 if [ -n " $$ (docker ps -q -f name=drupal)" ]; then \
321321 echo " └─ Using docker-compose codebase/ directory" ; \
322- docker-compose exec -T drupal with-contenv bash -lc " find . -not -user $( shell id -u) -not -path '*/sites/default/files/* ' -exec chown $( shell id -u) :101 {} \;" ; \
323- docker-compose exec -T drupal with-contenv bash -lc " find . -not -group 101 -not -path '*/sites/default/files/* ' -exec chown $( shell id -u) :101 {} \;" ; \
322+ docker-compose exec -T drupal with-contenv bash -lc " find . -not -user $( shell id -u) -not -path '*/sites/default/files' -exec chown $( shell id -u) :101 {} \;" ; \
323+ docker-compose exec -T drupal with-contenv bash -lc " find . -not -group 101 -not -path '*/sites/default/files' -exec chown $( shell id -u) :101 {} \;" ; \
324324 elif [ -d " codebase" ]; then \
325325 echo " └─ Using local codebase/ directory" ; \
326- sudo find ./codebase -not -user $(shell id -u) -not -path ' */sites/default/files/* ' -exec chown $(shell id -u) :101 {} \; ; \
327- sudo find ./codebase -not -group 101 -not -path ' */sites/default/files/* ' -exec chown $(shell id -u) :101 {} \; ; \
326+ sudo find ./codebase -not -user $(shell id -u) -not -path ' */sites/default/files' -exec chown $(shell id -u) :101 {} \; ; \
327+ sudo find ./codebase -not -group 101 -not -path ' */sites/default/files' -exec chown $(shell id -u) :101 {} \; ; \
328328 else \
329329 echo " └─ No codebase/ directory found, skipping" ; \
330330 fi
You can’t perform that action at this time.
0 commit comments