|
@@ -46,15 +46,10 @@ then
|
|
echo 'Mapping of the user id was not provided on docker run. You need to provide the following arguments: -v "$HOME/.o3de:/home/o3de/.o3de" -v "$HOME/O3DE:/home/o3de/O3DE"'
|
|
echo 'Mapping of the user id was not provided on docker run. You need to provide the following arguments: -v "$HOME/.o3de:/home/o3de/.o3de" -v "$HOME/O3DE:/home/o3de/O3DE"'
|
|
exit 1
|
|
exit 1
|
|
else
|
|
else
|
|
- echo "Updating O3DE permissions"
|
|
|
|
-
|
|
|
|
# Make sure ownership is correct for the mapped O3DE folders
|
|
# Make sure ownership is correct for the mapped O3DE folders
|
|
sudo chown $O3DE_USER:$O3DE_USER -R /home/$O3DE_USER/.o3de
|
|
sudo chown $O3DE_USER:$O3DE_USER -R /home/$O3DE_USER/.o3de
|
|
sudo chown $O3DE_USER:$O3DE_USER -R /home/$O3DE_USER/O3DE
|
|
sudo chown $O3DE_USER:$O3DE_USER -R /home/$O3DE_USER/O3DE
|
|
|
|
|
|
- # Make sure the ownership of the installed O3DE is updated to the correct permissions
|
|
|
|
- sudo chown $O3DE_USER:$O3DE_USER -R /opt/O3DE
|
|
|
|
-
|
|
|
|
# Prepare and set the XDG_RUNTIME_DIR value for Qt in order to launch mime applications from Project Manager
|
|
# Prepare and set the XDG_RUNTIME_DIR value for Qt in order to launch mime applications from Project Manager
|
|
sudo mkdir -p /run/user/$UID
|
|
sudo mkdir -p /run/user/$UID
|
|
sudo chown $O3DE_USER:$O3DE_USER /run/user/$UID
|
|
sudo chown $O3DE_USER:$O3DE_USER /run/user/$UID
|