Test chown

This commit is contained in:
santic-zombie
2024-06-23 18:10:18 +03:00
parent 4f18e8f762
commit 83f25d4af1
2 changed files with 5 additions and 3 deletions

View File

@@ -48,6 +48,8 @@ fi
for F in /var/lock/one /var/log/one /var/run/one
do
if [ ! -d "${F}" ]; then
mkdir -p "${F}"
chmod 0750 "${F}"
chown "${ONE_USER}:${ONE_GROUP}" "${F}"
echo "CHOWNED ${F}"
fi