LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 671|回复: 9

不能自动挂载!

[复制链接]
发表于 2009-4-10 22:33:58 | 显示全部楼层 |阅读模式
安装的archlinux 2009.02版本,用了wiki上的方法,加入用户到storage之类的组中,但是普通用户在places菜单中可以看到ntfs分区,但是打不开,用root用户先进入一下gnome桌面,root用户自动挂载正常,再用普通用户进入gnome桌面就可以自动挂载了,不知道为什么,请高手帮忙,谢谢!
发表于 2009-4-10 22:43:39 | 显示全部楼层
参考置顶帖子还有wiki。

你可能需要设置一下hal
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 00:52:52 | 显示全部楼层
搞定了,按照wiki上的说明:
you can fix the situation by editing /etc/PolicyKit/PolicyKit.conf and paste the following into the <config> section:
<match user="$USER">
        <!-- replace with your login or delete the line if you want to allow all users to manipulate devices (keep security issues in mind though) -->
                <match action="org.freedesktop.hal.storage.*">
                        <return result="yes"/>
                </match>
                <match action="hal-storage-mount-fixed-extra-options">
                <!-- for internal devices mounted with extra options like a wished mount point -->
                        <return result="yes" />
                </match>
                <match action="hal-storage-mount-removable-extra-options">
                <!-- for external devices mounted with extra options like a wished mount point -->
                        <return result="yes" />
                </match>
        </match> <!-- don't forget to delete this line if you deleted the first one -->
回复 支持 反对

使用道具 举报

发表于 2009-4-11 01:01:36 | 显示全部楼层
根本不用这么麻烦~~~
回复 支持 反对

使用道具 举报

发表于 2009-4-11 02:30:33 | 显示全部楼层
我之前也是按照wiki改的policykit.conf文件
不过后来我发现我的用户没有加入policykit组,我怀疑是这个问题
回复 支持 反对

使用道具 举报

发表于 2009-4-11 14:32:45 | 显示全部楼层
我似乎也有这个问题,回去试试看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 16:09:07 | 显示全部楼层
Post by qiang_liu8183;1972678
根本不用这么麻烦~~~


不知道你不这么麻烦的方法是什么,说出来让大家学习学习
回复 支持 反对

使用道具 举报

发表于 2009-4-11 17:59:50 | 显示全部楼层
Post by geddy;1972837
不知道你不这么麻烦的方法是什么,说出来让大家学习学习


置顶帖里有,自己去看
回复 支持 反对

使用道具 举报

发表于 2009-4-11 21:09:27 | 显示全部楼层
估计是没加用户组
回复 支持 反对

使用道具 举报

发表于 2009-4-12 19:32:42 | 显示全部楼层
一直手动 mount 的飘过~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表