更新完 zsh 說我目錄許可權問題的解決
問題
Last login: Mon May 28 13:35:31 on ttys001
You have mail.
[oh-my-zsh] Insecure completion-dependent directories detected:
drwxrwxrwx 7 hans admin 238 2 9 10:13 /usr/local/share/zsh
drwxrwxrwx 6 hans admin 204 10 1 2017 /usr/local/share/zsh/site-functions
[oh-my-zsh] For safety, we will not load completions from these directories until
[oh-my-zsh] you fix their permissions and ownership and restart zsh.
[oh-my-zsh] See the above list for directories with group or other writability.
[oh-my-zsh] To fix your permissions you can do so by disabling
[oh-my-zsh] the write permission of "group" and "others" and making sure that the
[oh-my-zsh] owner of these directories is either root or your current user.
[oh-my-zsh] The following command may help:
[oh-my-zsh] compaudit | xargs chmod g-w,o-w
[oh-my-zsh] If the above didn't help or you want to skip the verification of
[oh-my-zsh] insecure directories you can set the variable ZSH_DISABLE_COMPFIX to
[oh-my-zsh] "true" before oh-my-zsh is sourced in your zshrc file.
然後發現有類似問題
https://github.com/robbyrussell/oh-my-zsh/issues/6835
解決方法
chmod 755 /usr/local/share/zsh
chmod 755 /usr/local/share/zsh/site-functions
相關文章
- 解決SELinux對網站目錄許可權控制的不當的問題Linux網站
- vue許可權問題解決方案Vue
- Linux下目錄的x執行許可權問題Linux
- Linux更改檔案及目錄許可權問題Linux
- ubuntu下解決wireshark許可權問題Ubuntu
- linux目錄的許可權Linux
- Linux 目錄與許可權詳解Linux
- ORA-07391: sftopn: fopen error, 目錄許可權問題Error
- Linux 許可權管理之目錄許可權限制Linux
- 【LIUNX】目錄或檔案許可權,許可權授予
- 通過設定目錄組標誌位解決dmp檔案讀許可權問題
- Linux 目錄許可權研究Linux
- apache+php 的匿名FTP功能目錄許可權設定問題(轉)ApachePHPFTP
- Vue設定許可權列表目錄Vue
- 帝國CMS提示建立目錄不成功,請檢查目錄許可權的解決辦法
- 用無程式碼解決CRM角色許可權問題
- AIX下ssh信任關係建立後ssh 遠端訪問仍然需要輸入密碼問題解決 - 目錄許可權問題AI密碼
- MySQL許可權問題MySql
- 改變檔案或目錄的訪問許可權命令(轉)訪問許可權
- 因AIX系統目錄許可權問題導致TSM備份失敗AI
- Android SELinux avc dennied許可權問題解決方法AndroidLinux
- oracle 通過trigger解決drop許可權問題Oracle
- moderator permission的許可權問題
- Linux改變檔案或目錄的訪問許可權命令Linux訪問許可權
- Linux的檔案許可權與目錄配置Linux
- 檢視使用者的目錄操作許可權
- Oracle中常用的目錄許可權設定命令Oracle
- android 許可權問題Android
- SQL Server許可權問題SQLServer
- RAC安裝目錄許可權快速恢復
- Oracle 目錄許可權丟失故障恢復Oracle
- Lnmp 網站根目錄檔案許可權LNMP網站
- 目錄檔案有寫許可權 危險
- 16.4.目錄檔案與許可權
- nfs 掛載目錄 root 許可權不夠 ?NFS
- Linux檔案與目錄許可權概述Linux
- 認證/授權與許可權的問題
- Linux命令:改變檔案或目錄的訪問許可權(轉)Linux訪問許可權