免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3551 | 回复: 9
打印 上一主题 下一主题

root 不能更改/opt目录权限 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-28 23:45 |只看该作者 |倒序浏览
我的solaris 8 /opt 的权限是root只读,我怎么可以把它改成可读写呢?试了用chmod, 但不给我改,请问有什么办法

论坛徽章:
0
2 [报告]
发表于 2006-01-29 00:23 |只看该作者
对了,执行以后报的错误消息是什么?\n\n[ 本帖最后由 风之幻想 于 2006-1-29 00:40 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2006-01-31 20:59 |只看该作者
就报这个错,帮忙看看吧,谢了\r\n\r\n#Failed to make directory \"test\"; Operation not applicable

论坛徽章:
0
4 [报告]
发表于 2006-02-02 09:31 |只看该作者
shadow文件有问题,查看一下

论坛徽章:
0
5 [报告]
发表于 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 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2006-02-06 09:07 |只看该作者
is /opt a readonly file system? if so, it\'s needed to be unmounted and re-mounted with \"rw\"

论坛徽章:
0
7 [报告]
发表于 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 \",蛮奇怪的

论坛徽章:
0
8 [报告]
发表于 2006-02-06 10:36 |只看该作者
贴一下/etc/vfstab & ls -la /opt

论坛徽章:
0
9 [报告]
发表于 2006-02-06 15:05 |只看该作者
#chmod -R 755 /opt试试看

论坛徽章:
0
10 [报告]
发表于 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 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP