FS#8677 - "mount as user" with hal 0.5.10 on KDE

Attached to Project: Arch Linux
Opened by Daniele Bettella (sunriis) - Saturday, 17 November 2007, 16:18 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 07 December 2008, 11:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Pierre Schmitz (Pierre)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
"mount as user" won't work with hal 0.5.10.
Since when I updated to the new hal version, I get a weird error when trying to open ntfs partitions via storage media in kde, it just shows:
"TODO: have to rethink extra options" in an error window.
It worked pretty well before... I checked my user groups and that the daemons are running.

see also http://bbs.archlinux.org/viewtopic.php?id=39426
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 07 December 2008, 11:27 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Saturday, 17 November 2007, 16:56 GMT
I guess this is only in KDE. I don't have any problems here with Gnome.
Comment by Varun Acharya (ganja_guru) - Sunday, 16 December 2007, 20:06 GMT
confirmed on kde
Comment by Hu Jiaqi (struq) - Saturday, 29 December 2007, 12:21 GMT
also confirmed on my kde

see http://bbs.archlinux.org/viewtopic.php?id=39589
I did as #6, and it works again
Comment by Tobias Powalowski (tpowa) - Monday, 03 March 2008, 19:05 GMT
status on kde 3.5.9?
Comment by Giorgos (ranger) - Wednesday, 26 March 2008, 22:03 GMT
same here in 3.5.9
Comment by Alberto Gonzalez (Luis) - Sunday, 20 April 2008, 23:54 GMT
I was hoping that 0.5.11 would fix this, but I updated today to 0.5.11rc2 and it's still not fixed.

My solution has been to just patch it on my own. It surely isn't the right fix, but all it does is allow again to mount the ntfs devices until the HAL developers "rethink the extra options" (you see, it's taking way too long for them to rethink such options, and this is a nasty regression, so the fix is good enough for me). I'm attaching the patch in case it's useful for anyone else.
Comment by Greg (dolby) - Monday, 21 July 2008, 00:03 GMT
Still happens with hal 0.5.11-1? Also has anyone bothered to report upstream?
Comment by Giorgos (ranger) - Monday, 21 July 2008, 07:14 GMT
Yes, same with 0.5.11-1
Comment by Giorgos (ranger) - Sunday, 27 July 2008, 09:20 GMT
In KDE3 I can mount removable ntfs drives by unchecking the "mount as user" option at mounting tab of the drive properties.
In KDE4 there is non such option so the removable ntfs drives can be mounted only from terminal as root.
Maybe the patch Luis provided should be applied to hal to fix the "have to rethink extra options" issue until the upstream fix.
Comment by Pierre Schmitz (Pierre) - Monday, 28 July 2008, 07:38 GMT
Just to be clear: This is not valid anymore because the feature was removed from KDE4? Can we close this bug?
Comment by Giorgos (ranger) - Monday, 28 July 2008, 08:30 GMT
No, it is not removed. Now mount as user is the default option for mounting removable medias.
So again there is the "TODO: have to rethink extra options" error
Comment by Dincer Celik (roadboy) - Monday, 04 August 2008, 10:15 GMT
Alberto's fix is good. Is it possible to include ntfs-mount-fix.patch in abs tree until the hal developers fixes this bug? I'm sure this will help lots of users.
Comment by Pierre Schmitz (Pierre) - Sunday, 14 September 2008, 10:50 GMT
I have added this patch to hal-0.5.11-4. Please test if this fixes your problems.
Comment by Alberto Gonzalez (Luis) - Sunday, 14 September 2008, 10:55 GMT
It fixes the problem for me, thanks.
Comment by Giorgos (ranger) - Sunday, 14 September 2008, 11:48 GMT
Didnt help here.
My internal ntfs partitions in fstab are not mounted during boot and I cant mount them manually.

# mount /dev/sdb8
ntfs-3g-mount: mount failed: Device or resource busy

Same with removable ntfs drives.

# pacman -Q ntfs-3g hal
ntfs-3g 1.2812-1
hal 0.5.11-4

With 0.5.11-1 I internal partitions are mounted ok during, but external aren't (neither during boot or manually)
Comment by aidenn (idn) - Saturday, 27 September 2008, 18:31 GMT
Oh, there's a task on this. I've already posted on the forums - http://bbs.archlinux.org/viewtopic.php?pid=425674#p425674

Anyway, my ntfs partitions won't automount with hal 0.5.11-4 (they mounted fine with 0.5.11-1). Otherwise everything mounts fine (fat16 SD cards, bonus xfs partition etc.). I'm using ntfs-3g 1.2812-1.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 21:31 GMT
What's the status of this issue?
Comment by Alberto Gonzalez (Luis) - Friday, 05 December 2008, 21:38 GMT
The original bug was solved by the patch posted in the comments.

There seems to be an unrelated one introduced later and still unsolved (but I can't really comment on that one).

Probably this one should be closed and if the automount problem is still not solved open another bug for that.

Loading...