|
发表于 2011-5-20 23:34:12
|
显示全部楼层
以root身份,在/var/lib/polkit-1/localauthority/50-local.d/下新建文件: 50-devicekit-disks-policy.pkla,内容为:
[DeviceKit User Permissions]
Identity=unix-user:xxxx
Action=org.freedesktop.udisks.filesystem-mount-system-internal
ResultAny=yes
ResultActive=yes
ResultInactive=yes
其中,xxxx为你要使用的用户名。 |
|