Skip to content

Commit b0af3a3

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/start-blueos-core

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ else
8787
fi
8888

8989
# fix permissions for logging folders:
90-
find /var/logs/blueos -type d -exec chmod 777 {} \;
90+
find /var/logs/blueos -type d -exec chmod 755 {} \;
91+
mkdir -p /usr/blueos/userdata/settings
92+
find /usr/blueos -type d -exec chmod 755 {} \;
93+
find /usr/blueos -type f -exec chmod a+rw {} \;
9194

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

0 commit comments

Comments
 (0)