Using HAL fdi policy to restrict access to a mounted USB
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. However, I want the access to be restricted 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. 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 |
Hi,
Look at setting a password for 'group'; Quote:
|
All times are GMT -5. The time now is 03:44 PM. |