更新时间:2018-09-30 15:26
/etc/profile
时提示“Permission denied”错误,查看root用户权限,确认拥有读取和写入的权限。lsattr /etc/prof*
getfacl /etc/prof*
ll /etc/prof*
-rw-r--r--. 1 root root 1796 Oct 2 2013 /etc/profile
-rw-r--r-- 1 root root 1796 May 17 2017 /etc/profile~
-rw-r--r-- 1 root root 1796 Oct 2 2013 /etc/profile_bak
-rw-r--r-- 1 root root 1796 Apr 3 15:56 /etc/profill~
-rw-r--r-- 1 root root 1796 Apr 3 15:50 /etc/profilm~
-rw-r--r-- 1 root root 1796 Apr 3 15:29 /etc/profiln~
-rw-r--r-- 1 root root 1796 Apr 3 15:10 /etc/profilo~
-rw-r--r-- 1 root root 1796 Apr 3 13:37 /etc/profilp~
-rw-r--r-- 1 root root 1796 Apr 3 13:32 /etc/profilq~
-rw-r--r-- 1 root root 1796 Apr 3 13:25 /etc/profilr~
-rw-r--r-- 1 root root 1796 Apr 3 13:21 /etc/profils~
-rw-r--r-- 1 root root 1796 Apr 3 13:21 /etc/profilt~
-rw-r--r-- 1 root root 1796 Apr 3 13:19 /etc/profilu~
-rw-r--r-- 1 root root 1796 Apr 3 13:19 /etc/profilv~
-rw-r--r-- 1 root root 1796 Apr 3 13:19 /etc/profilw~
-rw-r--r-- 1 root root 1796 Feb 28 12:40 /etc/profilx~
-rw-r--r-- 1 root root 1796 Feb 28 12:40 /etc/profily~
-rw-r--r-- 1 root root 1796 May 17 2017 /etc/profilz~
/etc/init.d/
目录,执行如下命令。ls
在文档使用中是否遇到以下问题
更多建议
匿名提交