fix: 更新权限设置,确保目录和文件归属正确
This commit is contained in:
7
debian/postinst
vendored
7
debian/postinst
vendored
@@ -34,11 +34,8 @@ if [ ! -f /etc/xxxigcc/config_cc.json ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set permissions
|
# Set permissions
|
||||||
chown -R xxxigcc:xxxigcc /opt/xxxigcc
|
chown -R root:root /opt/xxxigcc
|
||||||
chmod 755 /opt/xxxigcc
|
chmod -R 755 /opt/xxxigcc
|
||||||
chmod 755 /opt/xxxigcc/xxxigServer
|
|
||||||
chmod 755 /opt/xxxigcc/xxxigDaemon
|
|
||||||
chmod 755 /opt/xxxigcc/xxxigMiner
|
|
||||||
|
|
||||||
# Reload systemd
|
# Reload systemd
|
||||||
if [ -d /run/systemd/system ]; then
|
if [ -d /run/systemd/system ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user