tag:blogger.com,1999:blog-713602603894920874.post1458869227703590197..comments2024-02-04T16:04:27.595-08:00Comments on Tech Stuff and Notes: Mounting Mac HFS+ disk volumes as read and write on Ubuntubloggerhttp://www.blogger.com/profile/09586588053165570068noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-713602603894920874.post-21658221561609519052014-07-15T10:28:59.166-07:002014-07-15T10:28:59.166-07:00Hi Juan. Are you saying on Ubuntu Linux the drive ...Hi Juan. Are you saying on Ubuntu Linux the drive mounts with its UUID as label instead of your own custom label name?<br /><br />I presume a Mac would just do the right thing :) , and I have no experience with MacDrive on Windows otherwise.<br /><br />If on Ubuntu, did you remember to set the <b>"Mount Point"</b> to /media/$username/$mountPointName with the GNOME Disks utility?<br /><br />One other thing you can try. Also in GNOME Disks utility, click on your <b>drive</b> (usually shown on the left side of the Disks window), then click on your <b>volume</b> shown (usually shown on the right side of the Disks window). Below the volume shown, there should be a <b>gears "More actions..." button</b>: click on that and <b>choose "Edit Filesystem Label..."</b>.<br /><br />That's the two possibilities I can think of right now. Hope that works out for you!bloggerhttps://www.blogger.com/profile/09586588053165570068noreply@blogger.comtag:blogger.com,1999:blog-713602603894920874.post-10565402509595419002014-07-15T05:11:32.869-07:002014-07-15T05:11:32.869-07:00I'm using this approach to share between the t...I'm using this approach to share between the three platforms (by using MacDrive in windows), and it works quite nice. however I have a recurring problem, which is that one of my drives ignores the disk label and puts the UUID as the mount point i.e. /media/juan/9921930809223<br />Have you faced this before?Juan Cardelinohttps://www.blogger.com/profile/05171554233478191590noreply@blogger.comtag:blogger.com,1999:blog-713602603894920874.post-53235250915707580982013-08-28T06:52:35.094-07:002013-08-28T06:52:35.094-07:00Yeah, I've found out about the external drive ...Yeah, I've found out about the external drive behavior later yesterday. Didn't know it was optional though.<br />Sorry for the duplicate post, I thought it failed the first time.Anonymoushttps://www.blogger.com/profile/06715519257498905090noreply@blogger.comtag:blogger.com,1999:blog-713602603894920874.post-87782989844285765662013-08-27T14:40:07.891-07:002013-08-27T14:40:07.891-07:00chown all files to your linux uid doesn't make...chown all files to your linux uid doesn't make files unmanageable when using the drive in OS X systems.<br /><br />It turns out Macs treat all files and folders on external media specially. Essentially it ignores permissions on external media.<br /><br />You can control that behavior on the Mac side by checking off "Ignore ownership on this volume" in the "Get Info" window of an external volume on a Mac.<br /><br />What that does is it makes all newly created files/folders be owned by uid 99, which the OS X kernel essentially treats as "whoever is presently logged in". It also treats all existing files/folders as though it were owned by uid 99 on mounting the volume.<br /><br />As for changing your uid in OS X to match your uid in Linux (or vice versa). I've looked into that and it seems more work than it's worth.<br /><br />I guess it's worth looking into if your drive has so many files/folders that chown takes forever to execute, or if you don't have sudo'er privileges on the Linux system but you do on the Mac (OTOH, I guess you could always run chown on the Mac in advance of moving the drive to the Linux system...).bloggerhttps://www.blogger.com/profile/09586588053165570068noreply@blogger.comtag:blogger.com,1999:blog-713602603894920874.post-71897515916983688652013-08-27T12:49:53.305-07:002013-08-27T12:49:53.305-07:00Hey there, I've come to the situation you'...Hey there, I've come to the situation you've faced.<br /><br />I thought that "mount -t hfsplus -o uid=99,gid=99 /dev/path /mount/path"<br />would solve the reading problems, and write as user 99. But that didn't quite work.<br /><br />Changing the filesystem owner, it seems to me, would provide only a temporary solution, giving you total control on linux but making the drive unmanageable in OSX. Wouldn't it?Anonymoushttps://www.blogger.com/profile/06715519257498905090noreply@blogger.comtag:blogger.com,1999:blog-713602603894920874.post-42031126774707481422013-08-27T12:46:07.907-07:002013-08-27T12:46:07.907-07:00Hello, I've the same situation as you, foundin...Hello, I've the same situation as you, founding about all of these mishaps.<br /><br />I thought that "sudo mount -t hfsplus -o uid=99,gid=99 /dev/path /mount/path" would solve all my problems concerning the user 99, read with no restrictions and write files owned by 99.<br /><br />But that, as you said, didn't happen.<br />chown all of the files to your linux uid would solve the problem temporally, but wouldn't that make files unmanageable when using the drive in the OSX system?<br /><br />Another solution would be changing your uid in the OSX to the same uid linux uses, or the reverse of that.Anonymoushttps://www.blogger.com/profile/06715519257498905090noreply@blogger.com