如何更改django中celeryd的权限
我已经看到,当我通过普通用户执行 celeryd 时,我收到权限被拒绝错误
/opt/python2.7/bin/celeryd
但它以 root 用户执行
在文本中它说
"Running celeryd with superuser privileges is not encouraged!")
我如何为 celeryd 的 user1 分配权限
I have seen that when i execute celeryd
via normal user then i get permission denied error
/opt/python2.7/bin/celeryd
But it executes with root user
In the text it says that
"Running celeryd with superuser privileges is not encouraged!")
How can i assign previlege to user1 for celeryd
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过在终端中运行以下命令来为所有用户添加执行权限:
sudo chmod u+x /opt/python2.7/bin/celeryd
You can add execute permissions for all users by running the following in a terminal:
sudo chmod u+x /opt/python2.7/bin/celeryd