首页 > 移动平台 > 详细

nohup: ignoring input and appending output to ‘nohup.out’ nohup: failed to run command ‘/for.sh’: Permission denied

时间:2021-07-27 15:33:39      阅读:97      评论:0      收藏:0      [点我收藏+]

参考: https://unix.stackexchange.com/questions/386545/nohup-failed-to-run-command-permission-denied

nohup: failed to run command ‘/for.sh’: Permission denied

  1. 确保shell脚本是 #!/bin/sh 开头
  2. 更改脚本文件的权限: chmod +x ./for.sh

nohup: ignoring input and appending output to ‘nohup.out’

技术分享图片

nohup: ignoring input and appending output to ‘nohup.out’ nohup: failed to run command ‘/for.sh’: Permission denied

原文:https://www.cnblogs.com/openmind-ink/p/15065324.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!