I'm new to Linux, and just installed Ubuntu 17.04 on a dual-boot MacBook. I'm having trouble with directories I'm creating on an hfs+ partition (created with gparted, so I can see files on it when booted into OS X). I'm assuming the confusion has to do with the hfs+ format being case-insensitive, but then, shouldn't it really be case insensitive, whether I'm working on it via Ubuntu or OS X? Here's the scenario:
- Created directory "DropBox" via Nautilus.
- Tried to rename "DropBox" to "Dropbox" but got error message: 'The item could not be renamed. The name "Dropbox" is already in use...'.
- Tried deleting "DropBox" (permanently, not to Trash) and creating new directory "Dropbox". When I did that, both directories appeared ("DropBox" and "Dropbox").
- Tried deleting "DropBox", but both directories were deleted. Looked in Terminal; while both "DropBox" and "Dropbox" are visible in Nautilus, running `ls -a shows only "DropBox".
- Still in Terminal, deleted "DropBox" (rm -R DropBox). As expected, this resulted in there being no dropbox folder of any sort. However, in Nautilus, I still see "Dropbox", until I try to open it, at which time I get an error that says it doesn't really exist, and then it disappears from Nautilus, too.
- In Terminal, re-create the directory (mkdir Dropbox). The directory is recreated as "DropBox" again, and shows up as such in Nautilus as well.
Here is the mount options for the drive:
/dev/sdb2 on /data type hfsplus (rw,nosuid,nodev,noexec,relatime,umask=22,uid=0,gid=0,nls=utf8)
Dropbox is not yet synced to this directory, so I know it has nothing to do with Dropbox.
Is there any way around this issue, or is it unavoidable when using hfs+?