added helper for deployment
This commit is contained in:
parent
1350521f11
commit
5e48571fda
13
fixPermissions.bash
Executable file
13
fixPermissions.bash
Executable 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
|
Loading…
Reference in New Issue
Block a user