Mac OS X開機啟動Path had bad permissions錯誤解決方案,pathpermissions

來源:互聯網
上載者:User

Mac OS X開機啟動Path had bad permissions錯誤解決方案,pathpermissions

最近在安裝mongodb的時候遇到了上述提示,在國內各大網站尋找解決方案無果,於是果斷查看國外的網站,終於,在stackoveflow上面找到了答案。

其實很簡單,我們寫好了.plist檔案以後,將它拷貝到/library/LaunchDeamons/檔案夾下面,然後就直接執行了sudo luanchctl load xxxx.plist,這樣肯定會產生許可權不夠的問題,所以,正確的方法是,現將其的許可權修改為root,sudo chown root xxxx.plist, 然後再來執行上述命令就沒事啦。

希望能幫到你,有什麼問題歡迎在下面留言。

著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.