From 40b78b7a572cf27cada284875768a049e327174d Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Sat, 16 Sep 2023 16:15:56 +0800 Subject: [PATCH] d --- debbuild/DEBIAN/postinst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 18843ca..4f733c2 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -18,10 +18,13 @@ echo " sudo /usr/local/omc/bin/omcsvc.sh start/stop/restart/status" echo "" cd ${X86Lib64Dir} +chmod +rx libwireshark.so.15.0.12 ln -s libwireshark.so.15.0.12 libwireshark.so.15 ln -s libwireshark.so.15.0.12 libwireshark.so +chmod +rx libwiretap.so.12.0.12 ln -s libwiretap.so.12.0.12 libwiretap.so.12 ln -s libwiretap.so.12.0.12 libwiretap.so +chmod +rx libwsutil.so.13.1.0 ln -s libwsutil.so.13.1.0 libwsutil.so.13 ln -s libwsutil.so.13.1.0 libwsutil.so systemctl enable restagent.service @@ -30,6 +33,10 @@ systemctl enable sshsvc.service systemctl enable captrace.service systemctl enable adb.service chmod +rx /usr/local/db/bin/* +chmod +rx /usr/local/omc/* +chmod +rx /usr/local/db/bin/* +chmod +rx /usr/local/bin/* +chmod -R 755 /usr/local/omc/htdocs/front systemctl daemon-reload for CFile in ${CFileList}; do if [ ! -e "${OMCEtcDir}/${CFile}" ]; then