Hi,<br>
<br>
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.<br><br>Plz help!!!<br>
<br><br>
fdi policy - <br>
<br>
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --><br>
<br>
<!-- This .fdi files makes sure that normal users are able to write<br>
to a automatically mounted USB drive --><br>
<br>
<deviceinfo version="0.2"><br>
<device><br>
<match key="volume.fstype" string="ntfs"><br>
<match key="@block.storage_device:storage.hotpluggable" bool="true"><br>
<merge key="volume.fstype" type="string">ntfs-3g</merge><br>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge><br>
</match><br>
</match><br>
</device><br>
</deviceinfo><br>
<br>
<br>
Thanks,<br>
Sumanth