diff --git a/cmake/package_lite.cmake b/cmake/package_lite.cmake index 591188bd7dd..e15d22ac9f4 100644 --- a/cmake/package_lite.cmake +++ b/cmake/package_lite.cmake @@ -320,7 +320,8 @@ else() COMPONENT ${RUNTIME_COMPONENT_NAME}) if(ENABLE_MODEL_OBF) install(FILES ${TOP_DIR}/mindspore/lite/tools/obfuscator/bin/linux-x64/msobfuscator - DESTINATION ${OBFUSCATOR_ROOT_DIR} COMPONENT ${RUNTIME_COMPONENT_NAME}) + DESTINATION ${OBFUSCATOR_ROOT_DIR} PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ + GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE COMPONENT ${RUNTIME_COMPONENT_NAME}) install(FILES ${TOP_DIR}/mindspore/lite/tools/obfuscator/lib/linux-x64/libmsdeobfuscator-lite.so DESTINATION ${RUNTIME_LIB_DIR} COMPONENT ${RUNTIME_COMPONENT_NAME}) endif() diff --git a/mindspore/lite/tools/obfuscator/bin/linux-x64/msobfuscator b/mindspore/lite/tools/obfuscator/bin/linux-x64/msobfuscator index 6030cd51be3..73ad0427171 100644 Binary files a/mindspore/lite/tools/obfuscator/bin/linux-x64/msobfuscator and b/mindspore/lite/tools/obfuscator/bin/linux-x64/msobfuscator differ diff --git a/mindspore/lite/tools/obfuscator/lib/android-aarch32/libmsdeobfuscator-lite.so b/mindspore/lite/tools/obfuscator/lib/android-aarch32/libmsdeobfuscator-lite.so index 2bcf498b397..c35ee9a02da 100644 Binary files a/mindspore/lite/tools/obfuscator/lib/android-aarch32/libmsdeobfuscator-lite.so and b/mindspore/lite/tools/obfuscator/lib/android-aarch32/libmsdeobfuscator-lite.so differ diff --git a/mindspore/lite/tools/obfuscator/lib/android-aarch64/libmsdeobfuscator-lite.so b/mindspore/lite/tools/obfuscator/lib/android-aarch64/libmsdeobfuscator-lite.so index 47e6f4731fd..ba5d68755e5 100644 Binary files a/mindspore/lite/tools/obfuscator/lib/android-aarch64/libmsdeobfuscator-lite.so and b/mindspore/lite/tools/obfuscator/lib/android-aarch64/libmsdeobfuscator-lite.so differ diff --git a/mindspore/lite/tools/obfuscator/lib/linux-x64/libmsdeobfuscator-lite.so b/mindspore/lite/tools/obfuscator/lib/linux-x64/libmsdeobfuscator-lite.so index aae2bbd62b8..286ac0562d1 100644 Binary files a/mindspore/lite/tools/obfuscator/lib/linux-x64/libmsdeobfuscator-lite.so and b/mindspore/lite/tools/obfuscator/lib/linux-x64/libmsdeobfuscator-lite.so differ