I found the problem, I can switch to any directory under `/home/jenkins`, but I can't switch to other directories outside. Is it because the user who runs the jenkins master?
Having the same issue, I'm running some stages in a container with root user, but getting access denied when trying to change directories, even with securityContext set as bellow: