Skip to content

Commit e5ffc01

Browse files
authored
Dockerfile permission vscode (#209)
1 parent d9d8763 commit e5ffc01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ useradd \
148148
$USERNAME \
149149
&& echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USERNAME
150150

151-
# set /workspace/simics permissions to root:dev
152-
chown -R root:dev /workspace/{simics,projects} && chmod -R g+w /workspace/{simics,projects}
151+
# set /workspace/simics permissions to vscode:dev
152+
chown -R vscode:dev /workspace/{simics,projects,tsffs}
153153

154154
# install Rust nightly for the user
155155
sudo -E -u $USERNAME bash -c 'curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain none'

0 commit comments

Comments
 (0)