How to get rid of noexec mount option in a custom HAL fdi?

wwp subscript at free.fr
Fri Apr 21 08:59:07 UTC 2006


Hello all,


I'm trying to get my external devices mounted as I want w/ HAL. I've added a
custom fdi file, device is mounting correctly but still w/ the noexec option,
which is a problem to me:

[snip]
/dev/sdb1 on /media/storage3 type ext3 (rw,noexec,nosuid,nodev)


here is my /usr/share/hal/fdi/policy/95userpolicy/storage3.fdi:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
      <match key="@block.storage_device:storage.model" string="Y250P0">
        <merge key="volume.label" type="string">storage3</merge>
        <merge key="volume.policy.mount_option.noexec" type="bool">false</merge>
        <merge key="volume.policy.mount_option.exec" type="bool">true</merge>
    </match>
  </device>
</deviceinfo>

FYI, there is no line in fstab that could match either /dev/sdb1
or /media/storage3.

Any idea why it's always mounting w/ noexec? Is my fdi file wrong (I'm new to
HAL as you might have noticed)?


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060421/bdfaeba9/attachment-0001.sig>


More information about the fedora-list mailing list