fix: 更新权限设置,确保目录和文件归属正确
This commit is contained in:
1 parent
ed8f73de9f
commit
a0815f2db2
1 file changed
+2
-5
Vendored
+2
-5
@@ -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