Skip to content

Commit 171aeff

Browse files
core: start-blueos-core: Fix permission logic
The previous code did not work since it was running with the extensions folder that can have a huge number of files Not sure about the original work done in: bluerobotics#2322 Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 3f0f5ce commit 171aeff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/start-blueos-core

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ fi
9090
# we need 777 in order for other users to be able to alter it
9191
find /var/logs/blueos -type d -exec chmod a+rw {} \;
9292
mkdir -p /usr/blueos/userdata/settings
93-
find /usr/blueos -type d -exec chmod a+rw {} \;
94-
find /usr/blueos -type f -exec chmod a+rw {} \;
93+
find /usr/blueos/userdata -type d -exec chmod a+rw {} \;
94+
find /usr/blueos/userdata -type f -exec chmod a+rw {} \;
9595

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

0 commit comments

Comments
 (0)