From 42be63ce3cfcdf49760c939853db87bf31f37192 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Fri, 19 Jan 2024 18:52:35 -0300 Subject: [PATCH] core: start-blueos-core: fix folder permissions so non-root users can log data --- core/start-blueos-core | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/start-blueos-core b/core/start-blueos-core index 698d156804..12510cb19a 100755 --- a/core/start-blueos-core +++ b/core/start-blueos-core @@ -63,6 +63,9 @@ else echo "Waring: Using dockers's resolv.conf, this may cause DNS issues if the host's network configuration changes." fi +# fix permissions for logging folders: +find /var/logs/blueos -type d -exec chmod 777 {} \; + # These services have priority because they do the fundamental for the vehicle to work, # and by initializing them first we reduce the time users have to wait to control the vehicle. # From tests with QGC and Pi3, the reboot time was ~1min42s when not using this strategy,