…what do I have to do here? USB drives mount, read and write fine logged in as as root, but as a user, it’s a no-go. Even su’ing from a user acc’t does not work for me. I’ve googled the issue and there seems to be a number of fixes, which is even more confusing. It’s obviously a permissions issue, but su’ing to mount a USB drive from a user acc’t gives me a “/dev/sdb1” cannot be found in fstab or mtab, so there’s more to it perhaps.
C’mon SUSE, I don’t have any problems in Ubuntu like this.
I’m not sure, that’s just it. It APPEARS to automount the drives, icons show up on the desktop, but an error window comes up saying the drive could not be mounted. But fstab has the usbfs as noauto. I toggled that setting in fstab to auto from noauto, to no avail. If I run fdisk -l, the usb drive appears as /dev/sbd1, but I can’t mount it even after su. But if I log out as a user and log in as root, it works great.
I’ve noted that in an fstab file I’ve got on an Ubuntu installation (separate computer). Unfortunately, automounting is just not occurring on either FAT or NTFS usb drives and/or partitions. I’ve tried small thumbdrives, ide-to-usb hookups, external usb drives, and all I get logged in as a user is an icon showing up on the desktop and the message that “Failed to mount drive” followed by smaller text specifying “org.freedesktop.hal.storage.mount-removeable no ← (action, result)” with a Close button at the bottom. Again, logged in as root, it works fine.
>
> You don’t put usb drives in fstab. They automount in openSUSE 11 with rw
> permissions except for ntfs for which you need a minor system adjustment
> as mentioned here: ‘Automounting external (USB) NTFS drives in
> read-write mode’ (http://www.swerdna.net.au/linhowtontfs.html#external)
>
>
Comment out the lines in fstab and try again - I had a similar problem and
that cured it fore me.
Post your /etc/fstab config if you need help with this. In the case that everything is normal here, then it could be a policykit issue preventing automounting. Have a look at this file
<!–
Policy definitions for HAL’s drives/media mechanims.
Copyright (c) 2007 David Zeuthen <david@fubar.dk>
HAL is licensed to you under your choice of the the Academic Free
License Version 2.1, or the GNU General Public License version 2. Some
individual source files may be under the GPL only. See COPYING for
details.
→
<policyconfig>
<action id=“org.freedesktop.hal.storage.mount-fixed”>
<description>Mount file systems from internal drives.</description>
<message>System policy prevents mounting internal media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.unmount-others”>
<description>Unmount file systems mounted by other users.</description>
<message>System policy prevents unmounting media mounted by other users</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
i also want to mount my ext. USB HDD as user and it is not working until now.
I do the the following steps:
i delete the lines that i have in the fstab for my ext. HDD
i use the command: sudo ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs
and i change the setting in the “org.freedesktop.hal.storage.policy” from no to yes in the section <action id=“org.freedesktop.hal.storage.mount-removable”
Now, when i connect the ext. hdd and i want to read or write in the new DOLPHIN explorer, he says: an error occoured while accessing “ext. USB HDD”, the system respond: org.freedesktop.Hal.Device.Volume.UnknownFailure: TODO: have to rethink extra options
hmm what can i do else ? Must be a problem with the rights of the user?!
Has someone a idea?
I dont want to switch to a other distri!!
Thanks
Hi,
What “ntfs-config” are you referring to?
/root# l locate ntfs | grep config
finds nothing.
My problems with hal arose about one week ago with some updated file. But I can’t records from OpenSuSE updater – nothing relevant in zypper.log or y2logRPM .