Skip to content

Commit

Permalink
core: ensure folders in userdata are useable by all users
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Apr 2, 2024
1 parent f623dce commit dc4cb6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/start-blueos-core
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ else
fi

# fix permissions for logging folders:
# we need 777 in order for other users to be able to alter it
find /var/logs/blueos -type d -exec chmod 777 {} \;
mkdir -p /usr/blueos/userdata/settings
find /usr/blueos -type d -exec chmod 777 {} \;
find /usr/blueos -type f -exec chmod a+rw {} \;

# 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.
Expand Down

0 comments on commit dc4cb6b

Please sign in to comment.