bash: log.out: Permission denied
来源:12-4 利用Docker部署程序(一)

weixin_慕斯4428306
2021-08-12
进行人脸识别程序到
nohup python3 -c "from app import app;" > log.out 2>&1 &
出现
root@emos-app-setting:/demo# bash: log.out: Permission denied
[1]+ Exit 1 nohup python3 -c "from app import app;" > log.out 2>&1
我试过chmod777更改log.out的权限,但发现不是这个问题。
老师请问这要怎么解?
另外,我也操作过以下指令
nohup python3 -c "from app import app;" &
nohup python3 -c "from app import app;" > /dev/null 2>&1 &
以上的结果仍跳出Exit
写回答
1回答
-
神思者
2021-08-12
检查当前目录有没有python程序
042021-08-14
相似问题