I have set up my MacBook Pro 8,1 to dual-boot Ubuntu 13.04 + OSX Mountain Lion.
After the installation was finished I changed my Linux UID to 501
so that it matches the UID on the OSX install. I updated all file permissions, Ubuntu seemed to have no problems.
I can mount the OSX partitions in terminal (and I don't need sudo
to do it):
/usr/bin/udisks --mount /dev/sda3
and they mount to
/media/<device name>
I can also read the OSX partitions and write to the unjournaled OSX partition.
In Nautilus there are links to the partitions under Devices in the sidebar, but these links won't mount the partitions they link to. I get a message that the location cannot be displayed and I don't have the necessary permissions.
If I mount the partitions via the terminal first, then the sidebar links do work, but the links won't work to unmount without authenticating, a message pops up saying they were mounted by another user.
According to /var/log/syslog
, clicking the link uses the correct UID
Jul 15 17:42:34 silverfox dbus[930]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Jul 15 17:42:34 silverfox dbus[930]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 15 17:42:41 silverfox udisksd[1920]: Mounted /dev/sda3 at /media/mathew/book on behalf of uid 501
Jul 15 17:50:24 silverfox dbus[930]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Jul 15 17:50:24 silverfox dbus[930]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 15 17:50:26 silverfox udisksd[1920]: Cleaning up mount point /media/mathew/book (device 8:3 is not mounted)
Jul 15 17:50:26 silverfox udisksd[1920]: Unmounted /dev/sda3 on behalf of uid 501
What's the difference between what I do via the terminal and what Nautilus is doing?
Any advice on how can I dig a bit further into understanding and fixing this?