Hal/Dbus/gnome-volume-manager mount permission problem

Hello,
I have hal/dbus/gnome-volume-manager installed (of course I use gnome as DE).
I need help in configuring the permissions for automatically mounted disk/partitions.
When I connect an external USB HDD having 1 NTFS and 1 partition, these partitions are auto-mounted and the desktop icons appear for the both.
As a normal user I am able to read/write FAT partition (I think, not because I have configured anything properly, but because FAT does not support permissions on filesystem), but I am not even able to read (browse) NTFS filesystem (ERORR: You do not have permission...).
Yes, I have NTFS filesystm support enabled, because I am able to access that same NTFS partition as root.

Well, Thanks for the reply but I had not put any static entry in fstab for this external USB HDD.
Anyway, I figured out something (havn't tested it yet)
When an external USB HDD is attached ... depending storage.policy and volume.policy rules in /usr/share/hal .. the hal daemon (hald) calls fstab-sync with appropriate parameters.
fstab-sync, then, generates /etc/fstab enteries automatically (with comment=managed keyword).
I have added a user policy so that umask and gid value is set correctly. I'll test is as soon as I'll get time.
In the meanwhile if anybody have any other suggestions, please post it here.

Similar Messages

  • Suggestion for dbus, hal. new gnome-volume-manager-version.

    Heya,
    I just installed dbus, hall from cvs and gnome-volume-manager from tarball and have some suggestions:
    dbus:
    the default during configure seems to be to detect if you have the necessary things installed and based on that enable a component.
    To disbale qt-bindings add:
    --disable-qt
    to configure, else it will try to compile the qt-bindings and without a libGL.la it won't work ... (and this isn't in the Mesa package or wasn't anyway as far as I can tell).
    hal:
    could you add the option "--enable-fstab-sync" to configure in the new versions? It seems to be usefull . It can be it wasn't available earlier ...
    gnome-volume-manager:
    I just upgraded to 0.9.9 If anyone wants to have the binary just tell me where to upload.
    greetz,
    Michel

    Michel wrote:
    Heya,
    I just installed dbus, hall from cvs and gnome-volume-manager from tarball and have some suggestions:
    dbus:
    the default during configure seems to be to detect if you have the necessary things installed and based on that enable a component.
    To disbale qt-bindings add:
    --disable-qt
    to configure, else it will try to compile the qt-bindings and without a libGL.la it won't work ... (and this isn't in the Mesa package or wasn't anyway as far as I can tell).
    there are solutions on this forum to fix the libGL.la. this file will be included with future builds of xorg/xfree86. NVIDIA drivers should also provide this file. this file is only an issue for building.
    file a bug report feature report to add this build option to the package
    hal:
    could you add the option "--enable-fstab-sync" to configure in the new versions? It seems to be usefull . It can be it wasn't available earlier ...
    if this package is in one of the three official repos file a feature request.
    gnome-volume-manager:
    I just upgraded to 0.9.9 If anyone wants to have the binary just tell me where to upload.
    if a package has just fallen out of date up to about two week leave time for the maintainer to upgrade it .  you can flage the package out of date via the web page. this is way better than offering it to people or uploading it somewhere.
    the flag otu of date feature is always a better option to cluttering the list with update requests and the bug tracker is the best way to convey your wanted build changes. alot of the developers do not frequent this forum but all are member of the bug tracker notification system.

  • Dbus/hal/gnome-volume-manager problem

    I've got hal and dbus running but it doesnt even seem that gnome-volume-manager is started. I added it to my gnome session but that didnt seem to do the trick. I'm trying to be able to just plug in my usb key and ipod and have them automount. It works if I restart hal or run gnome-volume-manager from the command line but then work work again unless I restart that stuff again. Here is a cut from my fstab:
    /dev/sda1 /mnt/usb auto user,noauto 0 0
    /dev/sda2 /mnt/ipod auto user,noauto 0 0

    Hi lhoerste,
    I had this problem with automount as well. The way I fixed it was adding
    dbus hal to daemons line in /etc/rc.conf. You probably did this already.
    Next, when you are in the gnome desktop, stick in a cd. Nothing happens right?
    Now go to preferences=>removable drives and media (I think this is what it is called. I'm not sitting infront of my computer at the moment). Then make sure that the checkboxes pertaining to "mount automatically" are checked.
    Close window.
    Now your cd should automount and appear on the desktop. Eject the cd by right clicking on the icon and choosing eject.
    Now, restart and ***make sure you save settings*** before leaving.
    Get back into the gnome desktop and plug your cd back in. It should automount now.
    This is how I got automount to work for me.

  • Mounting drives on a udev+hal+gnome-volume-manager setup

    Hi,
    I set up Arch Linux on a friends computer. The setup seems to work, for example gnome-cd is started when one inserts an Audio CD. However, everything that involves mounting does not work. The error message given by gnome-volume-manager is
    mount: wrong fs type, bad option, bad superblock on /dev/sda1,
    or too many mounted file systems
    * /bin/mount has sid set, 755, owner and file group are root
    * udev is set up correctly, so /dev/hdc for example does have write rights for the group disk, and the user is member of that group.
    What could be wrong?

    The problem was mainly about mounting, and not about /dev/sda or /dev/hdc. We found the solution:
    The "mount" binary in Arch's current is confused by the entry "managed" that hal puts in /etc/fstab. You can correct this by
    a) Adding a policy file in /usr/share/hal/fdi/95userpolicy named, for example, local.fdi that hinders hal from doing so:
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <!-- Default policies merged onto computer root object -->
    <device>
    <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
    <merge key="storage.policy.default.managed_keyword.primary" type="string">user</merge>
    </match>
    </device>
    </deviceinfo>
    Then restart hal by typing
    /etc/rc.d/hal restart
    as root
    b) Patching "mount" as described in Arch Linux bug #1930.[/code]

  • [SOLVED]gnome-volume-manager / hal 0.5.10 - can't deactivate automount

    http://wiki.archlinux.org/index.php/HAL
    I've created /etc/hal/policy/preferences.fdi
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    The article say "Policies" may be deprecated in hal 0.5.10. I doubt that, but i dont know what is deprecated though.
    I did check the documentation out, and everything i did still seems to be valid.
    http://people.freedesktop.org/~david/ha … ies-volume
    Does gnome-volume-manager honor this setting in gnome 2.20?
    Last edited by pelle.k (2008-02-04 20:12:51)

    It would seem i solved it myself.
    First of all, gnome-volume-manager need to be recompiled with a patch i found (ubuntu gutsy); http://patches.ubuntu.com/by-release/ex … hint.patch
    Why this isn't included by default in gnome-volume-manager is beyond me!? You bad, bad, gnome devs!
    Replace the PKGBUILD when building from ABS.
    # Contributor: Link Dupont <[email protected]>
    pkgname=gnome-volume-manager
    pkgver=2.17.0
    pkgrel=3
    pkgdesc="GNOME daemon to auto-mount and manage media devices"
    arch=(i686 x86_64)
    license=('GPL')
    url=http://www.gnome.org/
    depends=('libgnomeui>=2.20.0' 'libnotify>=0.4.4' 'gnome-mount>=0.6')
    makedepends=('nautilus>=2.20.0' 'perlxml' 'pkgconfig')
    install=gnome-volume-manager.install
    groups=('gnome-extra')
    source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.17/${pkgname}-${pkgver}.tar.bz2
    gvm-mount-async.patch
    gvm-check-local.patch
    http://patches.ubuntu.com/by-release/extracted/ubuntu/g/gnome-volume-manager/2.17.0-2ubuntu2/02_honour_automount_enabled_hint.patch)
    md5sums=('104cec26e721e0bba69debd392367195'
    '534b8b9633148bd975b2b9b518c41fb4'
    'cb45810b2adb95d39e1272470f10a21a'
    '7288a9dc57df321d6a379c9b6a7caaff')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    patch -Np0 -i ${startdir}/src/gvm-mount-async.patch || return 1
    patch -Np0 -i ${startdir}/src/gvm-check-local.patch || return 1
    patch -Np1 -i ${startdir}/src/02_honour_automount_enabled_hint.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
    mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
    gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
    rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
    Also, this is my /etc/hal/fdi/policy/preferences.fdi
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    If you compare that to my first version, you'll note that it is *not* enclosed in <deviceinfo> and <device> tags, simply because that wouldn't work. Don't ask me why. i'm by no means a HAL expert...
    Last edited by pelle.k (2008-02-04 20:12:00)

  • [SOLVED] gnome-volume-manager is lazy

    Until some update that I missed all was fine. I boot, my volumes are mounted, I can see them in ROX (my main file management program).
    I insert a CD/DVD/whatever, its mounted and its all in /media/.:D
    But now it just does nothing, until I start Nautilus, then everything gets mounted.
    I close Nautilus, and it doesnt mount anything again.
    gnome-volume-manager process is up and running after login before running nautilus and after closing it too.
    How can I make it behave nicely without the nuisance that Nautilus is?
    Oh and Im running Openbox as the window manager in Gnome, Nautilus desktop handling disabled.
    Last edited by Hohoho (2008-05-28 20:21:12)

    i had the same problem.
    i looked in the changelog and it appears that from now on the automount function is disabled upstream because that function is to be handled by the nautilus ( http://ftp.gnome.org/pub/GNOME/sources/ … .3.changes ). For me it is a problem because i use openbox and thunar, so you just have to recompile the package with the option: "--enable-automount" .
    info from:
    ~/Desktop/gnome-volume-manager-2.22.3  $  ./configure --help
    then start it ( after recompiling with abs, for example ), but look that the path changed, now in my autostart file for openbox i have:
    /usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable --daemon=yes &
    hope it helps you, because this annoyed me for a long time and this is the only easy way to mount my partitions easily
    Last edited by Diaz (2008-05-28 20:04:56)

  • Gnome-volume-manager doesn't work, nor another automounter

    Hi there,
    I have installed gnome-volume-manager but it apparentely does not work. I've followed the instructions from the FAQ - Arch Linux, and I have tried also recompiling it with --enable-automounting. I have tried also having Nautilus opened at the same time but it didn't work. My WM is IceWM.
    //ivman works for the cdrom but not for usb devices. And I don't like AutoFS.
    Last edited by jmcejuela (2009-04-10 15:06:34)

    I had this problem and it was related to ConsoleKit not being initialized properly. I was using SLIM as login manager and had to add ck-launch-session to my .xinitrc when starting the gnome session.
    Last edited by iBertus (2009-04-10 17:21:33)

  • Gnome-volume-manager freezes xfce4 on logout

    Hi there,
    I configured gnome-volume-manager to automatically mount drives (esp. usbsticks and so on) and it is working quite smoothly.
    But one side effect is bothering me a little:
    As suggested in a gnome-volume-manager HowTo, the volume manager is loaded on startx in the following form
    <.xinitrc>
    exec startxfce4 & exec gnome-volume-manager
    </.xinitrc>
    as soon as I try to quit my Xfce session the session hangs and will not terminate properly, i.e. logfoff-screen appears but session is not ended.
    I waited for quite a while (about an hour  :shock: )...
    As I didn't change too much over the last few days, I quickly found out that the gnome-volume-manager is the culprit. As soon as the 'exec gnome-volume-manager' part is removed, Xfce will shut down normally.
    Has anyone else encountered this side effect? Is there a solution?
    Greez and Thx
    Bernhard

    JGC wrote:I wouldn't start gnome-volume-manager that way, I would configure xfce4 to add gnome-volume-manager to the session when it starts up. Putting it in your .xinitrc makes xfce4 unaware of gnome-volume-manager.
    Sounds logical.
    It was the way described in the HOwTo, though. That's why I started the volume-manager like this. I would have preferred a more general approach, starting the gnome-volume-manager someplace more general (and not separately for each user)
    I guess the correct place would be somewhere in ~/.config/xfce4??
    I would have thought maybe the xinitrc that resides there... (Maybe along with xftaskbar4...)
    Or is there a more suitable file??
    Greez
    bernhard

  • Firewire and gnome-volume-manager

    I have a firewire scanner, when hotplugged, nothing happens in gnome. I have 'run when scanner is plugged' checked, but I get nothing.
    Does gnome-volume-manager work with firewire devices? or is it just my scanner? (Canon 2540 photo)

    I don't know about scanners, but my firefire external HD is recognised perfectly by gnome-volume-manager. So it does listen for firewire devices. Maybe you'll need to add something to udev to make gnome-volume-manager know it's a scanner?
    I have a scsi scanner, so I won't try hotplugging it

  • Solaris Volume Manager - mount problems

    hi.
    first i set up a raid on a StorEdge 5100 :
    metainit d4 -r c2t1d0s0 c2t2d0s0 .............. (13 devices) -i 64k
    works fine now i want to create a fs on d4:
    newfs /dev/md/rdsk/d4
    works fine.
    i insert this line in vfstab:
    /dev/md/dsk/d4 /dev/md/rdsk/d4 /d4 ufs 1 yes -
    now after a reboot the system hangs in maintanance mode and want a fsck . after a fsck and control+d
    the system coming up. after a next reboot The same Problem... !!
    without any problems i run two mirror disksets / and /var on d0 and d3 and the swap on d1.
    is it a problem with the size of 101GB on the raid5 (A5100)
    yes i know i can run veritas volume manager on the A5100 (a license is on the machine) but i was not able to install the vm bacause the vm cant find the A5100 and the license. So please help me .

    Duplicate slicing: prtvtoc /dev/rdsk/c1t0d0s7|fmthard -s - /dev/rdsk/c1t1d0s7
    Lather, rinse, repeat for each file system:
    metainit the bootable side of the mirror: metainit -f d71 1 1 c1t0d0s7.
    metainit the other side: metainit d72 1 1 c1t1d0s7.
    Attach one side of the mirror: metainit d70 -m d71
    When done: lockfs -fa;init 6
    Lather, rinse, repeat for each file system:
    After reboot attach the other side of the mirror: metattach d70 d72
    bash-3.00# metastat -p
    d70 -m d71 d72 1
    d71 1 1 c1t0d0s7
    d72 1 1 c1t1d0s7
    d50 -m d51 d52 1
    d51 1 1 c1t0d0s5
    d52 1 1 c1t1d0s5
    d10 -m d11 d12 1
    d11 1 1 c1t0d0s1
    d12 1 1 c1t1d0s1
    d0 -m d1 d2 1
    d1 1 1 c1t0d0s0
    d2 1 1 c1t1d0s0
    d60 -m d61 d62 1
    d61 1 1 c1t0d0s6
    d62 1 1 c1t1d0s6
    bash-3.00# cat /etc/vfstab
    #device         device          mount           FS      fsck    mount   mount
    #to mount       to fsck         point           type    pass    at boot options
    fd      -       /dev/fd fd      -       no      -
    /proc   -       /proc   proc    -       no      -
    /dev/md/dsk/d10 -       -       swap    -       no      -
    /dev/md/dsk/d0  /dev/md/rdsk/d0 /       ufs     1       no      -
    /dev/md/dsk/d70 /dev/md/rdsk/d70        /usr    ufs     1       no      -
    /dev/md/dsk/d50 /dev/md/rdsk/d50        /var    ufs     1       no      -
    /dev/md/dsk/d60 /dev/md/rdsk/d60        /opt    ufs     2       yes     -
    /devices        -       /devices        devfs   -       no      -
    ctfs    -       /system/contract        ctfs    -       no      -
    objfs   -       /system/object  objfs   -       no      -
    swap    -       /tmp    tmpfs   -       yes     -

  • Gnome-volume-manager and plugdev

    I'm trying to work out some kinks in gnome-volume-manager0--namely, that I cannot unmount disks as a regular user.  Everything I have found says that a user must be a member of the plugdev group for such things to work, so I looked around and found that I should be able to add myself to the plugdev groups like so:
    usermod -G plugdev isez2001
    But upon giving this command, I receive an error saying that the plugdev group is unknown.
    Do I have to create the plugdev group myself?  If so, why?  It really seems like something that should be made to just work.

    Alright, I'm a member of the storage group already.
    Upon further investigation, I find that my USB flash drive is autmounted in /media under the group "root," and my DVD drive automounts under the group "-1".
    I am unable to unmount either of these as a normal user.
    Is there something I should do that will make disks mount under the storage group?

  • Volume manage rootdg create problem

    Hi, all
    I used dd copy a disk with Veritas Volume Manager(VxVM) software packag on it to a new disk, after that, I use new disk to boot system (sparc-10), get messages like that :
    Aug 27 05:38:00 vxvm:vxconfigd: enable failed: Error in disk group configuration copies
    Aug 27 05:38:00 vxvm:vxconfigd: Disk group has no valid configuration copies; transactions are disabled.
    Aug 27 05:38:00 vxvm:vxconfigd: Rootdg cannot be imported during boot
    so, I want to recreate rootdg for the new disk with command: vxdg init rootdg c0t3d0s2=c0t3d0s2, but get error messages: private region contents is invalid, can't create rootdg, can anybody tell me how to fix this problem? thanks a lot!
    weilin

    Hi Joan,
    You can set the Default Value for the history version of idClient to :P7_CLIENTID with a Default Type of PL/SQL Expression. This should ensure that it is always populated.
    Regards
    Andy

  • Dbus/gnome-settings-manager error

    This has been popping up for me on the past couple of weeks when I launch Firefox or Abiword (there's probably more).  I do not use GNOME on a daily basis (I use kdemod3) so this is just annoying.
    I've already reinstalled gnome-settings-daemon, dbus, dbus-core, and policykit.  Any other ideas?
    dbus is in DAEMONS and the system bus was running at the time these errors occur.
    Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-M0bpNe7zMX: Connection refused)
    Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-rCx5JaJxPf: Connection refused)
    Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-3PKcZlCdCx: Connection refused)
    Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-0XlJdRsSfx: Connection refused)
    Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-MdMHHsmZLV: Connection refused)

    You will need a dbus session bus, without this, 95% of modern applications, including GNOME, won't work. KDE3 does not autostart such a thing.

  • Gnome-volume-manager can't automount removable media any more

    Strange,  I don't know why, it worked perfectly, but now it lost functionability. Anyone with any suggestion? Thanks in advance.

    Strange,  I don't know why, it worked perfectly, but now it lost functionability. Anyone with any suggestion? Thanks in advance.

  • Autofs or hal/dbus ?

    When I was setting up my Arch box I used autofs so it would automount dvds I wanted to watch with smplayer.  Then I wanted to try "thunar", which needed hal/dbus.  When I enable hal in my rc.conf and rebooted, it said the DVD was locked - by autofs I assume.  So I removed autofs from my rc.conf, and rebooted.  Now thunar works.  I had avoided hal/dbus because I thought I read they were part of gnome and I was afraid it would clutter my system, but then I found it was already installed and I just had to enable it.  Is using autofs deprecated in favor of using hal/dbus?

    HAL and dbus are needed by alot of things, and using it in conjunction with a volume manager (such as  thunar-volman) seems to be the prefered way to do it.
    not sure if autofs is "deprecated" (i can think of a few uses where it'd work better than hal/dbus+volume manager) but since you already got hal/dbus + a volume manager installed, use them

Maybe you are looking for

  • WRT54GL Admin Problem

    When i go to edit some settings on my router, so port forwarding or something, and i go to click save settings it brings up a error. It says 'This Web Page is not available, The website at null might be temporarily down or it may have moved permanent

  • Turn off compatibility mode for itunes

    How to turn off compatibility mode for itunes

  • I purchased office: mac 2011 for my mac book air, how do I install it?

    I purchased office: mac 2011 for my mac book air, how do I install it?

  • Other than ODBC error

    Hi Team, What are the errors that we can found other than the odbc error in obiee can please share the document if you have. Thanks in advance

  • About dropping tables

    Hi, When I was reading the features of Oracle 9i, I came across a new feature that is, "We can get the dropped table details" .. But I havent understood what exactly is that ... Can anyone explain about this please ?? Regards