diff --git a/debian/postinst b/debian/postinst index f4d2edd..2303733 100755 --- a/debian/postinst +++ b/debian/postinst @@ -34,11 +34,8 @@ if [ ! -f /etc/xxxigcc/config_cc.json ]; then fi # Set permissions -chown -R xxxigcc:xxxigcc /opt/xxxigcc -chmod 755 /opt/xxxigcc -chmod 755 /opt/xxxigcc/xxxigServer -chmod 755 /opt/xxxigcc/xxxigDaemon -chmod 755 /opt/xxxigcc/xxxigMiner +chown -R root:root /opt/xxxigcc +chmod -R 755 /opt/xxxigcc # Reload systemd if [ -d /run/systemd/system ]; then