mariadb/root-common/usr/libexec/fix-permissions
Michal Schorm d988f448d2 Pull changes from upstream and rebase for: rebuild for latest MariaDB 10.3
created from upstream commit: 9a5d82c444b6f70f822d0280eebd6c73a3d64e31
2020-03-03 16:24:21 +01: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 {} +