Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved?] HAL/gnome-mount not setting uid on mount points
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mangobrain
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2003
Posts: 109

PostPosted: Fri Apr 25, 2008 10:45 am    Post subject: [Solved?] HAL/gnome-mount not setting uid on mount points Reply with quote

Hullo peeps.

I'm running HAL 0.5.10 and gnome-mount 0.6, both updated to ~x86 today to try and fix this problem, with no luck. Basically, when inserting an SD card, it is detected, mounted, but I cannot write to it as the logged-in user because the mount point is owned by root:root and not world writeable.

Output of "id haldaemon":

Quote:
uid=101(haldaemon) gid=407(haldaemon) groups=407(haldaemon),6(disk),11(floppy),
19(cdrom),80(cdrw),85(usb),5039(plugdev)


Output of "id philip" (the user logged in to GNOME when I insert the device):

Quote:
uid=5032(philip) gid=5032(philip) groups=5032(philip),6(disk),
10(wheel),11(floppy),18(audio),19(cdrom),
27(video),35(games),100(users),250(portage),5038(qemu),
5039(plugdev),5044(vmware),5049(wireshark),600(devel)


As you can see, both are members of disk and plugdev.

Also, from syslog, when the device is inserted:

Quote:
Apr 25 11:33:12 [hald] mounted /dev/sda1 on behalf of uid 5032


So hald has the correct UID for the user requesting the device be mounted, it just doesn't honour it.

The device is /dev/sda1, and there is nothing related to it in fstab; thus, the mountpoint itself is /media/disk (which is fine AFAIK). "mount" says the device is mounted read-write. I'm sure this worked until recently. Any ideas? :(
Back to top
View user's profile Send private message
mangobrain
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2003
Posts: 109

PostPosted: Fri Apr 25, 2008 3:45 pm    Post subject: Reply with quote

Never mind, tried again later and it seems to be working now. Have no clue what's changed - I haven't even logged out & back in, let alone rebooted... just one of those things.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum