File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ function command_help() {
38
38
awk ' BEGIN{FS="^[ ]+|\\) |## "} /^.*?[^*]+\) command_[a-zA-Z_\-]+ ;;/ {printf " \033[32m%-30s\033[0m %s\n", $2, $4}' $0
39
39
}
40
40
41
+ function command_permission(){
42
+ docker exec -i klizzy_php chown www-data:www-data -R /var/www/
43
+ }
44
+
41
45
function command_setup(){
42
46
command_start
43
47
docker exec -w " /var/www/" klizzy_php composer self-update --2
@@ -53,5 +57,6 @@ case ${CMD1} in
53
57
start) command_start ;; # # starts docker setup
54
58
stop) command_stop ;; # # stops docker setup
55
59
setup) command_setup ;; # # project setup
60
+ permission) command_permission ;; # # sets the correct file permissions in the container
56
61
* ) command_help ;; # # Shows this help.
57
62
esac
You can’t perform that action at this time.
0 commit comments