Fixed occ owner

This commit is contained in:
2026-01-19 07:12:13 +01:00
parent 9c2d7e0c28
commit 91de6318f0

2
debian/usr/sbin/occ vendored
View File

@@ -2,7 +2,7 @@
if [ $(id -u) -eq 0 ] || [ $(id -u) -eq 33 ];then
OPT="$@"
su -g www-data -s /bin/sh -c "/var/www/nextcloud/occ $OPT"
su -g www-data www-data -s /bin/sh -c "/var/www/nextcloud/occ $OPT"
else
echo "Please run as root"
fi