Permission issues, not able to run script as root

前端 未结 2 418
清歌不尽
清歌不尽 2021-01-14 12:54

I am running a shell script(Script.sh) which, itself, is calling other shell scripts( Script2.sh, Script3.sh ...etc). I logged in as a root user and have given execution per

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-14 13:33

    Make sure that your partition is not mounted with the noexec flag (which - as the name suggests - prevents making any files executable)

提交回复
热议问题