Skip to content

[features test cmd] Write tests with a non-root remoteUser - #286

Merged
joshspicer merged 3 commits into
mainfrom
joshspicer/non-root-remoteUser
Nov 16, 2022
Merged

joshspicer merged 3 commits into
mainfrom
joshspicer/non-root-remoteUser

Conversation

@joshspicer

Copy link
Copy Markdown
Contributor

tracking: #139

Previously, if you set 'remoteUser' in a test, the accompanying test
scripts placed into the shared 'workspaceFolder' would not have the
appropriate permission bits set to be executed by the exec user.

This patch ensure that all files in the workspaceFolder can be
read/written/executed by the exec user.

A test is added to validate creating a user and setting 'remoteUser' in
a scenario, and then running a test within that context to validate.

Previously, if you set 'remoteUser' in a test, the accompanying test
scripts placed into the shared 'workspaceFolder' would not have the
appropriate permission bits set to be executed by the exec user.

This patch ensure that all files in the workspaceFolder can be
read/written/executed by the exec user.

A test is added to validate creating a user and setting 'remoteUser' in
a scenario, and then running a test within that context to validate.
@joshspicer
joshspicer requested a review from a team as a code owner November 15, 2022 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants