Skip to content

Commit

Permalink
core: start-blueos-core: fix folder permissions so non-root users can…
Browse files Browse the repository at this point in the history
… log data
  • Loading branch information
Williangalvani committed Jan 19, 2024
1 parent 992df82 commit 42be63c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/start-blueos-core
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 42be63c

Please sign in to comment.