【问题标题】:Nohup command cause an errornohup 命令导致错误
【发布时间】:2017-02-08 04:37:34
【问题描述】:

我遵循一些关于在 laravel 上排队的教程并使用这个命令在后台运行它

sudo nohup php artisan queue:work --daemon --tries=3

过了一会儿,我想用命令更新我的代码

git add . 

但我得到了这个错误

error: open("nohup.out"): Permission denied
error: unable to index file nohup.out
fatal: adding files failed

我假设它来自上面的命令。 我该如何解决这个问题?

谢谢大佬,现在真的很困惑!

【问题讨论】:

    标签: daemon nohup


    【解决方案1】:

    对不起,迟到了, 你能看到要包含的文件吗?我说如果你使用: 状态 然后,如果您不能,请尝试使用 chmod 777 授予所有权限。

    【讨论】:

      猜你喜欢
      • 2013-05-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-05
      • 2015-07-29
      • 2021-07-17
      相关资源
      最近更新 更多