- This is needed by the isud to perform clean-up of the unnecessary
files from globalapps path which is owned by tizenglobalapp:root
but the isud service is run with the system:system user and group.
Reference ticket: SECSFV-271
Change-Id: Ib4b57bf44891dc902fa18d2c555c0e91adad93c9
then /usr/sbin/setcap cap_net_admin,cap_sys_ptrace,cap_sys_resource=ei /usr/bin/pass
fi
+# Package platform/core/system/isu
+# Date Apr 11, 2024
+# Required /usr/bin/isud : cap_dac_override : ei
+# cap_dac_override isud needs to access application's directory for scanning and removing app files
+
+if [ -e "/usr/bin/isud" ]
+then /usr/sbin/setcap cap_dac_override=ei /usr/bin/isud
+fi
+
# These are not related with the capability, but place here to run in generic-security.post
# It would be better to run this separately in generic-security.post future.
/usr/share/security-config/change_permission