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
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user