Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit ca75392

Browse files
committed
Recursively chown
#134 (comment)
1 parent 1bcaf6a commit ca75392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (r *runner) constructCommand(projectDir string) string {
154154
cd %v
155155
# This is necessary in case the .vscode directory wasn't created inside the container, as mounting to the host
156156
# extension dir will create it as root.
157-
sudo chown user:user ~/.vscode
157+
sudo chown -R user:user ~/.vscode
158158
code-server --host %v --port %v \
159159
--data-dir ~/.config/Code --extensions-dir %v --extra-extensions-dir ~/.vscode/extensions --allow-http --no-auth 2>&1 | tee %v
160160
`, projectDir, containerAddr, containerPort, hostExtensionsDir, containerLogPath)

0 commit comments

Comments
 (0)