安装oh my zsh后出现的目录权限问题
安装oh my zsh后出现的目录权限问题
问题
[oh-my-zsh] Insecure completion-dependent directories detected:
drwxrwxrwx 3 chenzhuo admin 96 6 29 23:39 /usr/local/share/zsh
drwxrwxrwx 7 chenzhuo admin 224 7 1 18:38 /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.
解决
改变目录的权限(对应上面问题的红色部分)
chmod 755 /usr/local/share/zsh
chmod 755 /usr/local/share/zsh/site-functions
安装oh my zsh后出现的目录权限问题相关推荐
- linux oracle bin目录在哪,linux 安装软件装完后在哪个目录
Linux下安装应用程序时它的默认安装路径. 默认目录一般建议为 /usr 所有的软件都仍这里.一般没有选择余地,除非不想用这个程序-- 安装方式一般是: 1.rpm或者deb这种软件包,一般双击安装 ...
- 安装完svn客户端后在bin目录中没有svn.exe文件
场景: 将svn安装完成之后在bin中没有发现svn.exe 文件,这个时候就无法集成到idea编辑器中. 原因: 安装svn的时候是默认不安装command line client tools的. ...
- ubuntu美化及解决使用zsh后无法运行ROS
文章目录 Ubuntu美化 主题调整 安装zsh 安装on My Zsh 安装PowerLine字体 配置zsh主题 配置插件 配置颜色主题 美化后问题解决 效果展示 zsh主题的重新调整方法 参考 ...
- 11gR2 GI和DB安装目录权限属主被修改后的恢复方法
某位仁兄新装一套11gR2 RAC的过程中,在GI的安装配置阶段遇到了安装目录无法写入的报错,于是他便将$GRID_HOME下所有目录和文件属主改成了grid:oinstall,将$GRID_HOME ...
- UBUNTU1804安装zsh后环境变量修改
按照教程安装zsh后,source工作空间报错,如下 需要将原本在.bashrc中的代码复制 source ~/minimal_robot_gripper/catkin_ws/devel/setup. ...
- 远程Linux主机安装Oh My Zsh
文章目录 介绍 安装 安装后 介绍 Oh My Zsh is an open source, community-driven framework for managing your Zsh conf ...
- 安装oh my zsh
前提条件: 检查当前shell Unix-based操作系统.(OS X或者是Linux) 安装了zsh 安装了curl或者是wget 安装了git 这四点都满足了可以进行下一步. 两种安装方式二选一 ...
- mac在使用zsh后各种问题解决
mac使用ZSH后的各种问题解决 1.安装maven 提示mvn command not found 分析 解决 2..zshrc 文件不存在,vim默认是新建? 安装oh-my-zsh 配置.zsh ...
- 与 Oh My Zsh 不可错过的邂逅:如何离线安装 Oh My Zsh
一.引言 有兴趣玩过 Oh My Zsh 的人,都无法舍弃对于 Oh My Zsh 的喜爱,它是一个 zsh 配置框架.而 zsh 又是有别于 bash 的 shell,zsh 的功能相当强大,可配置 ...
- ubuntu 18.04安装oh my zsh
oh My Zsh简介 zsh在bash的基础上有十足的改进,但是zsh配置相对复杂,所以oh my zsh算是zsh的简化配置版 oh my zsh 官网:https://ohmyz.sh/ 查看s ...
最新文章
- AAAI 2021: 微调对小样本学习究竟起何作用?搜索或是解决方案
- 二叉树-二叉树的最大深度(递归 )
- 配置hibernate手动配置
- 碰上摩尔纹怎么办?这5招帮你解决!
- Java性能优化(12):最小化类和成员可访问能力
- 数据扩展性探讨和总结--转
- 代码质量随想录(五)注得多不如注得巧
- 4g能用吗64java_java – 用于4G内存的JBoss 7内存配置,64位
- DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5的解决办法
- 前端系列——jquery.i18n.properties前端国际化解决方案“填坑日记”
- 局域网文件快传 暂记
- android pickerview 多行,Android PickerView实现三级联动效果
- 播放RTMP协议的流媒体的两种选择
- dellR230服务器如何进PE系统,戴尔服务器怎么进入u盘启动模式 选择oneshotbios
- 企业级自动化运维工具Ansible详解(上)
- 我的一次意义不同的旅行
- 请尝试将 `lib` 编译器选项更改为 es2015 或更高版本
- 纯字母域名批量注册的详细步骤
- 医院挂号系统代码_人脸识别+身份绑定!高科技精准打击医院号贩子
- C++时间戳time_t和时间结构体tm