HAL fdi policy for access control
Sumanth V
vsumanth10 at gmail.com
Tue Feb 16 12:01:01 PST 2010
Hi,
I have a requirement of mounting an external usb with NTFS filesystem and
allowing restricting its access only to the console user(even restricting
access to a single group is fine). I am able to mount the usb by using the
fdi policy below which I got it from the Archwiki page. However, I want to
restrict access to a single user or a group. Is there anything that I'm
missing here. I did search on the internet, but couldn't find anything in
this regard. I am using RHEL 5.2 64 bit machine currently.
Plz help!!!
fdi policy -
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!-- This .fdi files makes sure that normal users are able to write
to a automatically mounted USB drive -->
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
</match>
</match>
</device>
</deviceinfo>
Thanks,
Sumanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20100216/c106a56d/attachment.htm
More information about the hal
mailing list