如何使用launchtl启动守护进程?

时间:2018-06-01 00:04:52

标签: macos launchctl

我正在尝试使用下面的Path had bad ownership/permissions启动守护程序,如何修复此问题并启动并确保它正在运行?

teambot47:wifi_bas_server username$ sudo launchctl load -w /Users/username/wifi-automation/technology_version_report/com.company.internal.technologyreport.daily.plist 
/Users/username/wifi-automation/technology_version_report/com.company.internal.technologyreport.daily.plist: Path had bad ownership/permissions

以下是plist的权限

teambot47:wifi_bas_server username$ ls -lrta /Users/username/wifi-automation/technology_version_report/com.company.internal.technologyreport.daily.plist
-rwxrwxrwx  1 username  staff  811 May 17 15:38 /Users/username/wifi-automation/technology_version_report/com.company.internal.technologyreport.daily.plist

0 个答案:

没有答案