mounting devices

Hello

I'm new to freebsd (and to bsd system in general), and i've just installed a fresh freebsd 7.1 on my computer.
It runs XFCE4 dbus/hald/ etc... (installed it using make in /usr/ports/)
whenever I plug a storage device in my usb port.... the icon appear (tested with usb pendrive and CDrom too). But If I want to open (mount) by doucle clicking o the icon i get an error windows which says "mount_cd9660: /dev/acd0: Operation not permitted" when trying to open cdrom, and is empty when trying to open usbkey.

any clue?
 
This has been discussed to death in the Hardware forum (where I moved this thread). Please have a look around there first.
 
thanks for pointing me to thoose threads.
Unfortunately my problem seems a bit different, as mounting devices with cli (as a normal user) works as expected but mounting using the graphic tools (hal in xfce) doesn't...
I don't even know how to get debug from graphic tools...
Anyone idea?
 
Thanks It helped a lot.
I missed the Policykit.conf configuration...
adding

Code:
<match action="org.freedesktop.hal.storage.mount-removable">
  <match user="marcus">
    <return result="yes"/>
  </match>
</match>

in /usr/local/etc/PolicyKit/PolicyKit.conf solved the problem for my usb storage devices.
I still have an error with CD device saying "mount_cd9660: /dev/acd0: Operation not permitted"... gonna try to find out why.

thx
 
Did you have it listed in /etc/fstab? In this case it will not work.

What do you get after # chown root:operator /dev/acd0 && chmod 666 /dev/acd0 ?
 
If your user is a member of the operator group the permissions can be 660. If setting the permissions work you can add the following to /etc/devfs.conf:
Code:
perm acd* 0660
This will make sure the permissions are set correctly when you boot the system.
 
Back
Top