소스 검색

Revert "Fix permission issues in docker container for the installed o3de (#18047)" (#18055)

This reverts commit d7a5ab5513069b34eaf48c1969797499d2b48b02.

Signed-off-by: Steve Pham <[email protected]>
Steve Pham 1 년 전
부모
커밋
76b40e6f34
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      Docker/entrypoint.sh

+ 0 - 5
Docker/entrypoint.sh

@@ -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