k8s上部署jenkins出现touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log‘: Permission denied
k8s上部署jenkins出现touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied
·
touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied
Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
原因:权限不够
解决方案:
执行以下命令
chown -R 1000.1000 /data/nfs/
其中/data/nfs/是创建的nfs的地址
更多推荐
已为社区贡献5条内容
所有评论(0)