Chinaunix

标题: root 不能更改/opt目录权限 [打印本页]

作者: allunix    时间: 2006-01-28 23:45
标题: root 不能更改/opt目录权限
我的solaris 8 /opt 的权限是root只读,我怎么可以把它改成可读写呢?试了用chmod, 但不给我改,请问有什么办法
作者: 风之幻想    时间: 2006-01-29 00:23
对了,执行以后报的错误消息是什么?\n\n[ 本帖最后由 风之幻想 于 2006-1-29 00:40 编辑 ]
作者: allunix    时间: 2006-01-31 20:59
就报这个错,帮忙看看吧,谢了\r\n\r\n#Failed to make directory \"test\"; Operation not applicable
作者: solstice    时间: 2006-02-02 09:31
shadow文件有问题,查看一下
作者: allunix    时间: 2006-02-04 00:16
原帖由 doni 于 2006-2-1 18:01 发表\r\n写一下你用的命令
\r\n\r\n#chmod 755 /opt\n\n[ 本帖最后由 allunix 于 2006-2-4 00:18 编辑 ]
作者: chinaux    时间: 2006-02-06 09:07
is /opt a readonly file system? if so, it\'s needed to be unmounted and re-mounted with \"rw\"
作者: doni    时间: 2006-02-06 10:30
原帖由 allunix 于 2006-1-31 20:59 发表\r\n就报这个错,帮忙看看吧,谢了\r\n\r\n#Failed to make directory \"test\"; Operation not applicable
\r\n\r\nchmod 的报错是:\"Failed to make directory \",蛮奇怪的
作者: doni    时间: 2006-02-06 10:36
贴一下/etc/vfstab & ls -la /opt
作者: remen    时间: 2006-02-06 15:05
#chmod -R 755 /opt试试看
作者: allunix    时间: 2006-02-15 21:04
原帖由 doni 于 2006-2-6 10:36 发表\r\n贴一下/etc/vfstab & ls -la /opt
\r\n\r\nROOT: {4} ls -la /opt\r\ntotal 5\r\ndr-xr-xr-x   2 root     root           2 Feb 15 08:57 ./\r\ndrwxr-xr-x  31 root     root        1024 Feb  3 09:33 ../\r\ndrwxr-xr-x   5 root     sys          512 Jan 26 14:30 SUNWconn/\r\n\r\nROOT: {2} cat /etc/vfstab\r\n#device         device          mount           FS      fsck    mount   mount\r\n#to mount       to fsck         point           type    pass    at boot options\r\n#\r\n#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs     1       yes     -\r\nfd      -       /dev/fd fd      -       no      -\r\n/proc   -       /proc   proc    -       no      -\r\n/dev/dsk/c0t0d0s1       -       -       swap    -       no      -\r\n/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no\r\nlogging\r\nswap    -       /tmp    tmpfs   -       yes     size=512m\r\n\r\n\r\n帮忙看看吧\n\n[ 本帖最后由 allunix 于 2006-2-15 21:08 编辑 ]




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2