How to solve problem HFSplus OS X partition sharing as home partition in Ubuntu


I have dual-OS in my Macbook Pro, OS X Leopard and Ubuntu Oneiric. I want to share partition between OS X and Ubuntu. I use hfplus partition (without journaled) as user home in Ubuntu Oneiric. Then the problem begin.

When I adding launcher in Desktop (Ubuntu), it can’t be executed and throw error :

1
the application launcher ".desktop" has not been marked as trusted. if you do not know the source of this file, launching it may be unsafe.

After finding several articles, I try to change UID in this partition (/dev/sda3) into 501 :
http://ubuntuforums.org/showthread.php?t=1751009.

But it still doesn’t works. Using “chmod a+x” on *.desktop, chown ubuntu:ubuntu, allow permission in properties and another tricks giving no results.

Then I realize that Ubuntu doesn’t allow any program in shared partition executable. I try to execute eclipse in my shared partition and give me permission denied.

Now, I have found the solution. First, install depedencies packages :

1
sudo apt-get install hfsplus hfsutils hfsprogs

Next, open your fstab by “sudo vim /etc/fstab” and add your share partition, in this case, I have /dev/sda3 as shared partition :

1
/dev/sda3       /home/ubuntu    hfsplus         defaults        0       1

Reboot and you should have all program in shared partition executable and launcher desktop working now!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.