Fixed occ script, postinstall permissions and Updated rules and readme

This commit is contained in:
2026-01-08 15:37:49 +01:00
parent 580e55958d
commit 798b279956
5 changed files with 33 additions and 30 deletions

2
debian/usr/sbin/occ vendored
View File

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