阿里云的root依然没权限改到 /etc/profile ,chmod chattr 都不行
chmod u+x /etc/profilechattr -i /etc/profile 依然没有权限修改该文件。 怎么回事呢。 也没有挂载。
chmod u+x /etc/profilechattr -i /etc/profile 依然没有权限修改该文件。 怎么回事呢。 也没有挂载。
解决方案 »
- linux 下通过awk sed 处理字符串问题
- ARM开发板模拟成U盘的问题(设备端gadget)
- ubuntu中mysql workbench连不上mysql数据库
- xshell5老是出现安装程序组件错误,好心人帮忙解决下
- 在win7下安装Vmware+Fedora,每次重启之后之前的共享文件夹就不能用了
- intel的无线网卡AC 9462的驱动程序支持Linux的在哪里下
- centos6.5 安装 mysql8.0.11 报错
- 跪求大佬 使用vsftpd 创建FTP服务 不知道登入账号密码
- linux应用程序的线性地址的范围是0-3G,如果一个应用程序代码段长度为5G,那么线性地址怎么分配?
- vmware文件拖拽问题
- nginx+tomcat 使用upstream进行负载均衡 报404错误
- mac 终端总是意外退出怎么回事
-- INSERT -- W10: Warning: Changing a readonly file
E325: ATTENTION
Found a swap file by the name ".profile.swp"
owned by: root dated: Thu Jun 23 21:47:02 2016
file name: /etc/profile
modified: YES
user name: root host name: iZ23qeritb6Z
process ID: 26477
While opening file "profile"
dated: Fri Jun 24 09:37:13 2016
NEWER than swap file!(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r profile"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".profile.swp"
to avoid this message.
2、chmod +w /etc/profile w是写权限,x是执行权限