emanote/fixPermissions.bash

14 lines
178 B
Bash
Raw Normal View History

2022-08-24 15:12:09 +00:00
#!/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