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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux