mysql/root-common/usr/libexec/fix-permissions
2018-11-05 19:08:41 +00:00

6 lines
226 B
Bash
Executable file

#!/bin/sh
# Fix permissions on the given directory to allow group read/write of
# regular files and execute of directories.
find $@ -exec chown mysql:0 {} \;
find $@ -exec chmod g+rw {} \;
find $@ -type d -exec chmod g+x {} +