summaryrefslogtreecommitdiffstats
path: root/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logging.cpp')
-rw-r--r--logging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/logging.cpp b/logging.cpp
index d5af72aad..50642a26b 100644
--- a/logging.cpp
+++ b/logging.cpp
@@ -221,6 +221,7 @@ void copy_logs(bool modified_flash, bool has_cache) {
chown(LAST_KMSG_FILE, AID_SYSTEM, AID_SYSTEM);
chmod(LAST_LOG_FILE, 0640);
chmod(LAST_INSTALL_FILE, 0644);
+ chown(LAST_INSTALL_FILE, AID_SYSTEM, AID_SYSTEM);
sync();
}