You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
RHEL 7
Question
Information:
- I am running Azure Pipelines on Self-Hosted Linux (RHEL7) Agent
- Running the Static Web App Deployment task within Pipeline Job
Issue:
- Task is modifying the working directory permissions to root from local user while execution (The user from which the agent is running initially)
- This is creating issue for subsequent runs, pipeline (job) is failing at initialization step stating Access is denied to multiple files/directories.
The text was updated successfully, but these errors were encountered:
Just adding some logs for better understanding. I was hitting ls-al continiously while the pipeline was running to capture the change in directory ownerships.
[localuser@xxx 19]$ ls -al
total 4
drwxr-xr-x. 7 localuser localuser 75 Oct 19 18:04 .
drwxrwxrwx. 26 localuser localuser 275 Oct 19 18:04 ..
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 a
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 b
drwxr-xr-x. 3 localuser localuser 20 Oct 19 18:04 npmAuthenticate
drwxr-xr-x. 8 localuser localuser 4096 Oct 19 18:04 s
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 TestResults
[localuser@xx 19]$ ls -al
total 4
drwxr-xr-x. 7 localuser localuser 75 Oct 19 18:04 .
drwxrwxrwx. 26 localuser localuser 275 Oct 19 18:04 ..
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 a
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 b
drwxr-xr-x. 3 localuser localuser 20 Oct 19 18:04 npmAuthenticate
drwxr-xr-x. 9 root root 4096 Oct 19 18:05 s
drwxr-xr-x. 2 localuser localuser 6 Oct 19 18:04 TestResults
'localuser' is the 'user' which my agent utilizes for all Pipelines
's' is the 'Default Working directory in Azure Pipelines
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Task name
AzureStaticWebapp@0
Task version
0.228.0
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
RHEL 7
Question
The text was updated successfully, but these errors were encountered: