added helper for deployment

This commit is contained in:
Nicole Dresselhaus 2022-08-24 17:12:09 +02:00
parent 1350521f11
commit 5e48571fda
1 changed files with 13 additions and 0 deletions

13
fixPermissions.bash Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
chgrp -R www-data static_gen/
fix_dirs()
{
local IFS=$'\n'
for line in `find static_gen/ -type d`; do
chmod g+s ${line}
done
}
fix_dirs