error messgae: ./configure permission denied
[why] tmpfs default option (rw,nosuid,noexec,nodev) can't execute stuff from it cause of the noexec flag
refer-to: https://github.com/docker/compose/issues/3425
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com --- providers/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 9edad62..d532a56 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -23,7 +23,7 @@ cmd=( docker run --rm -m $memory - --mount type=tmpfs,destination=/tmp + --tmpfs /tmp:rw,exec,nosuid,nodev -e CCI_SRC=/c/compass-ci -v ${load_path}/lkp:/lkp -v ${DIR}/bin:/root/bin:ro
On Tue, Dec 01, 2020 at 04:45:21PM +0800, Xiao Shenwei wrote:
error messgae: ./configure permission denied
[why] tmpfs default option (rw,nosuid,noexec,nodev) can't execute stuff from it cause of the noexec flag
noexec => no execute?
Thanks, Xueliang
refer-to: https://github.com/docker/compose/issues/3425
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
providers/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 9edad62..d532a56 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -23,7 +23,7 @@ cmd=( docker run --rm -m $memory
- --mount type=tmpfs,destination=/tmp
- --tmpfs /tmp:rw,exec,nosuid,nodev -e CCI_SRC=/c/compass-ci -v ${load_path}/lkp:/lkp -v ${DIR}/bin:/root/bin:ro
-- 2.23.0
On Tue, Dec 01, 2020 at 11:26:35PM +0800, Cao Xueliang wrote:
On Tue, Dec 01, 2020 at 04:45:21PM +0800, Xiao Shenwei wrote:
error messgae: ./configure permission denied
[why] tmpfs default option (rw,nosuid,noexec,nodev) can't execute stuff from it cause of the noexec flag
noexec => no execute?
noexec is a fixed flag
Thanks, Shenwei
Thanks, Xueliang
refer-to: https://github.com/docker/compose/issues/3425
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
providers/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 9edad62..d532a56 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -23,7 +23,7 @@ cmd=( docker run --rm -m $memory
- --mount type=tmpfs,destination=/tmp
- --tmpfs /tmp:rw,exec,nosuid,nodev -e CCI_SRC=/c/compass-ci -v ${load_path}/lkp:/lkp -v ${DIR}/bin:/root/bin:ro
-- 2.23.0
On Wed, Dec 02, 2020 at 09:16:17AM +0800, Xiao Shenwei wrote:
On Tue, Dec 01, 2020 at 11:26:35PM +0800, Cao Xueliang wrote:
On Tue, Dec 01, 2020 at 04:45:21PM +0800, Xiao Shenwei wrote:
error messgae: ./configure permission denied
[why] tmpfs default option (rw,nosuid,noexec,nodev) can't execute stuff from it cause of the noexec flag
noexec => no execute?
noexec is a fixed flag
got it.
Thanks, Xueliang
Thanks, Shenwei
Thanks, Xueliang
refer-to: https://github.com/docker/compose/issues/3425
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
providers/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 9edad62..d532a56 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -23,7 +23,7 @@ cmd=( docker run --rm -m $memory
- --mount type=tmpfs,destination=/tmp
- --tmpfs /tmp:rw,exec,nosuid,nodev -e CCI_SRC=/c/compass-ci -v ${load_path}/lkp:/lkp -v ${DIR}/bin:/root/bin:ro
-- 2.23.0