如果程序需要写权限,我应该如何使用 chown 设置它?具体来说,程序 foo 的权限是什么来解决这个错误?
failed to create pid file '/var/run/bar.pid': Permission denied
permissions
permissions ×1