[clug] How to gain non-root read access to external HD

Pearl Louis pearl.louis at gmail.com
Sun May 1 08:10:16 GMT 2005

Well, it seems you're right Paul.  It is Hal.  But you don't mess
around with hald.conf, but you have to define a new policy file *.fdi.
 Anyway, does anyone know anything about this?  My test fdi file which
does the innocuous thing of changing the mount point doesn't work - as
in Hal simply doesn't use it at all.  It is in

<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <!-- -*- SGML -*- -->
<deviceinfo version=\"0.2\">
    <match key=\"@block.storage_device:storage.vendor\" string=\"Maxtor\">
      <match key=\"@block.storage_device:storage.model\" string=\"OneTouch\">
        <match key=\"block.is_volume\" bool=\"true\">
          <match key=\"volume.fsusage\" string=\"filesystem\">
            <match key=\"volume.partition.number\" int=\"1\">
              <merge key=\"volume.policy.desired_mount_point\"


On 4/30/05, Paul TBBle Hampson <Paul.Hampson at anu.edu.au> wrote:
> On Fri, Apr 29, 2005 at 04:20:06AM +1000, Pearl Louis wrote:
> > Here's the situation.  Fedora 3 automatically detects my external hard
> > drive.  Yay!  However, it won't give me non-root read access.  I don't
> > really want write access as it is an ntfs partition and I'd rather not
> > see my mp3 collection and my data from my PhD work and all the drafts
> > of my papers and my thesis go up in smoke.  Most of my music
> > collection is on the external hard drive and I would dearly love to be
> > able to play said mp3s without logging in as root.  Now, Fedora 3
> > automatically puts this entry into fstab when I plug in the hard
> > drive:
> > /dev/sda1               /media/ieee1394disk     ntfs
> > pamconsole,exec,noauto,fscontext=system
> > _u:object_r:removable_t,managed 0 0
> I think "managed" here means it's added by hal. I dunno about
> FC3 specifically, but I reckon you can futz around in /etc/hal
> to control its mount options.
> --
> -----------------------------------------------------------
> Paul "TBBle" Hampson, MCSE
> 8th year CompSci/Asian Studies student, ANU
> The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
> Paul.Hampson at Anu.edu.au
> "No survivors? Then where do the stories come from I wonder?"
> -- Capt. Jack Sparrow, "Pirates of the Caribbean"
> This email is licensed to the recipient for non-commercial
> use, duplication and distribution.
> -----------------------------------------------------------
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux

More information about the linux mailing list