Control: user selinux-de...@lists.alioth.debian.org Control: usertags -1 selinux
Or one could directly create the directory with the correct SELinux context: --- php-fpm.init.backup 2020-02-19 19:56:30.837758877 +0100 +++ php-fpm.init 2020-02-19 19:56:47.137485779 +0100 @@ -103,7 +103,7 @@ if [ -r "$TMPFILES" ]; then while read type path mode user group age argument; do if [ "$type" = "d" ]; then - mkdir $V -p "$path" + mkdir $V -pZ "$path" chmod $V "$mode" "$path" chown $V "$user:$group" "$path" fi