Skip to content

Commit 41f36e8

Browse files
core: ensure folders in userdata are useable by all users
1 parent f623dce commit 41f36e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/start-blueos-core

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ else
8787
fi
8888

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

9296
# These services have priority because they do the fundamental for the vehicle to work,
9397
# and by initializing them first we reduce the time users have to wait to control the vehicle.

0 commit comments

Comments
 (0)