Dropbox renames file with lower case

All your general support questions for OpenZFS on OS X.

Dropbox renames file with lower case

Postby calbear88 » Sat Sep 24, 2016 7:33 pm

HI, I recently moved my dropbox folder to my ZFS volume. Whenever I save changes to a file, the file name becomes all lower case letters, for example "File.txt" will become "file.txt" This did not occur when my dropbox was on my HFS+ volume. Both my ZFS and HFS+ volumes were formatted as case-insensitive. This doesn't seem to occur with files on my ZFS volume that aren't in my dropbox. Just wondering if anyone knew the cause for this error.

Also, if I rename a file on my ZFS volume (not in my dropbox) from upper case to lower case, I get the error message "The operation can't be completed, an unexpected error occurred (error code -43)." The rename is successful though.

Thanks
Attachments
Screen Shot 2016-09-24 at 8.28.17 PM.png
Screen Shot 2016-09-24 at 8.28.17 PM.png (43.57 KiB) Viewed 6784 times
calbear88
 
Posts: 25
Joined: Sun Mar 08, 2015 3:01 pm

Re: Dropbox renames file with lower case

Postby Brendon » Sat Sep 24, 2016 11:30 pm

Hi,

Interesting situation! I have my dropbox on ZFS, and am not experiencing what you describe. My user is in dataset tank/Users.

Please check:

Code: Select all
zfs get all tank/Users
tank/Users  casesensitivity             insensitive                                     -


and a brief peek inside my dropbox:

Code: Select all
cd Dropbox/
jerry:Dropbox brendy$ ls -l
total 33666
...
-rwxr-xr-x@  1 brendy  staff    99920  5 Nov  2013 Screen Shot 2013-11-05 at 9.21.10 pm.png
drwxr-xr-x@  9 brendy  staff        9 15 Sep 20:30 Screenshots
-rw-r--r--@  1 brendy  staff        0 11 Aug 17:50 Season 2016_2017 Club Information.pptx
-rw-r--r--@  1 brendy  staff    70972 11 Apr  2014 ZFS_iozone_time.png
-rw-r--r--@  1 brendy  staff     3851 13 Feb  2014 bmalloc.c
drwxr-xr-x@  7 brendy  staff        7 13 Dec  2014 dead
-rw-r--r--@  1 brendy  staff  5117041 26 Feb  2014 deadlock_140226.txt
... etc...


Also checked renaming files by case, no problem.

Cheers
Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: Dropbox renames file with lower case

Postby calbear88 » Sun Sep 25, 2016 3:01 pm

Thanks for the info. I confrmed my zfs volumes are case insensitive. I created my zfs volume as a mirrored volume with the command listed on the openzfs on osx wiki page

"sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD $poolname mirror diskX diskY"

Regarding the code 43 error when renaming files from upper case to lower case, I confirmed it occurs with any zfs volume. As an experiment, I formatted a USB flash drive to zfs using the following command a few minutes ago:

"sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD zfsflash disk8"

I then copied an excel file to a folder on the flash disk, and got the code 43 error when renaming the file to lower case letters. Interestingly, when I rename files from lowercase to uppercase, or uppercase to lowercase, it often takes 2 tries for it to succeed, but each time it successfully changes to lowercase, the error 43 box pops up.

I'm running OSX 10.11.6

Thanks
calbear88
 
Posts: 25
Joined: Sun Mar 08, 2015 3:01 pm

Re: Dropbox renames file with lower case

Postby Brendon » Sun Sep 25, 2016 5:47 pm

Interesting....What version of O3X?
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: Dropbox renames file with lower case

Postby calbear88 » Sun Sep 25, 2016 6:04 pm

Brendon wrote:Interesting....What version of O3X?


I'm running 1.5.2
calbear88
 
Posts: 25
Joined: Sun Mar 08, 2015 3:01 pm

Re: Dropbox renames file with lower case

Postby LATB » Mon Mar 27, 2017 1:27 pm

Hello,

was there ever a resolution of this issue? I have exactly the same problem with zfs and Dropbox.

Here is another data point, copying a file with camel-case name to the zfs filesystem, which is part of my Dropbox folder:
Code: Select all
$  cp ~/Dropbox/AbstractSebastianWhite.pdf ./
$ ls -l
total 1
-rw-r--r--@ 1 bauerdic  staff  22430 Mar 27 16:45 abstractsebastianwhite.pdf
$  tree .
.
└── AbstractSebastianWhite.pdf

0 directories, 1 file


The ls command tells me the file name is all lower case, while tree thinks it has camel-case.

Finder tells me that file only has lower case. The Dropbox web interface thinks it has camel-case.

Also, zsh autocompletion thinks the file name is camel-case. Weird and a bit scary.

It would be great if we could use zfs file systems for dropbox, but not at the moment!

Best regards, Lothar Bauerdick
LATB
 
Posts: 7
Joined: Tue Jan 05, 2016 12:01 pm

Re: Dropbox renames file with lower case

Postby abc123 » Tue Aug 15, 2017 7:02 am

I've just started seeing this same issue. I'm running a slightly later version of 1.6.1 form master and my Dropbox has been working fine for a couple of months since I set it up on a ZFS (case insensitive dataset) but just today I've started having the same errors as reported here - all files renamed to lower case when I copy them in to the DropBox folder and an error if I try and re-name them again.
abc123
 
Posts: 63
Joined: Mon Jan 30, 2017 11:46 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 10 guests