Skip to content

Commit

Permalink
Revert "Fix permission issues in docker container for the installed o…
Browse files Browse the repository at this point in the history
…3de (o3de#18047)" (o3de#18055)

This reverts commit d7a5ab5.

Signed-off-by: Steve Pham <[email protected]>
  • Loading branch information
spham-amzn authored Jun 25, 2024
1 parent 4995aee commit 76b40e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
exit 1
else
echo "Updating O3DE permissions"

# 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

# 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
sudo mkdir -p /run/user/$UID
sudo chown $O3DE_USER:$O3DE_USER /run/user/$UID
Expand Down

0 comments on commit 76b40e6

Please sign in to comment.