无论我用root还是user执行都是这样。文件权限如:
-rw-r--r-- 1 root users 71610 3月 3 20:03 ab
-rw-r--r-- 1 root users 3431 3月 3 20:01 apachectl
-rw-r--r-- 1 root users 23387 3月 3 20:01 apxs
-rw-r--r-- 1 root users 11993 3月 3 20:03 checkgid
-rw-r--r-- 1 root users 8925 3月 3 20:01 dbmmanage
-rw-r--r-- 1 root users 976 3月 3 20:01 envvars
-rw-r--r-- 1 root users 976 3月 3 20:01 envvars-std
-rw-r--r-- 1 root users 17866 3月 3 20:03 fcgistarter
-rw-r--r-- 1 root users 45100 3月 3 20:03 htcacheclean
-rw-r--r-- 1 root users 27296 3月 3 20:03 htdbm
-rw-r--r-- 1 root users 22336 3月 3 20:02 htdigest
-rw-r--r-- 1 root users 27294 3月 3 20:02 htpasswd
-rw-r--r-- 1 root users 836419 3月 3 20:03 httpd
-rw-r--r-- 1 root users 22031 3月 3 20:03 httxt2dbm
-rw-r--r-- 1 root users 22608 3月 3 20:03 logresolve
-rw-r--r-- 1 root users 27195 3月 3 20:03 rotatelogs
另外,我用root权限对bin文件操作chmod -R 777 都不行。请教一下
echo $? 时为0,安装完成后还是提示没有权限。rpm –e httpd --nodeps 提示没有此用户
追答你的/etc/passwd 等几个关键的文件是不是没有权限?还是chatrr命令操作过?