-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Journal DB filename with dot underscore #5904
Comments
If someone moves the full sync folder, it's included. I don't see a "real" problem, |
There was another issue because of ._ in the name: #5633 (but that was fixed by removing the _ for samba shares) |
The problem is not only that it is hidden because of the leading dot, it is even a special hidden file. macOS reserves the ._xyz for storing extended attributes of a file xyz on filesystems that do not support extended attributes. As such the Finder will never display or make accessible in any form an item called ._xyz, even if the Show Hidden Files is activ. ._xyz is very special, and never ever visible. So using ._syncNNNNN is very bad prctice |
@guruz @michaelstingl @ogoffart as @matthiasschroder described, we usually have to ask the user for this file while doing support as the owncloud sync longs are not enough for debugging the problem. |
Since the effects from ._ were accidental we likely want to address this by changing the db name. A primary concern with the name was making sure it's excluded from sync. That was the prime reason for the ._ prefix in the first place; we were not aware of the OSX complications at that time. |
@ckamm maybe the code here could just be swapped around a bit to prefer the non-underscore-path? |
@guruz Yes. We needed |
This is to avoid issues on OSX, where the ._ prefix has special meaning. Originally (before 2.3.2) ._ was necessary to guarantee exclusion. But since then the .sync_ prefix is excluded as well. This does not affect existing database files.
This is to avoid issues on OSX, where the ._ prefix has special meaning. Originally (before 2.3.2) ._ was necessary to guarantee exclusion. But since then the .sync_ prefix is excluded as well. This does not affect existing database files.
This is to avoid issues on OSX, where the ._ prefix has special meaning. Originally (before 2.3.2) ._ was necessary to guarantee exclusion. But since then the .sync_ prefix is excluded as well. This does not affect existing database files.
New databases will be created with the |
New databases are created with the .sync_ prefix |
@dragotin did you notice that a filename like
._sync_7d56ce96981f.db
is COMPLETELY INVISIBLE in Finder while.csync_journal.db
is visible in light grey if you havedefaults write com.apple.finder AppleShowAllFiles YES
set.Did we think about the implications this could have for end users when moving files/folders/directories etc? @michaelstingl
But maybe normal users anyway don't have
AppleShowAllFiles
set?FYI @ckamm @ogoffart @SamuAlfageme
Feel free to close this issue, I just wanted to mention it.
The text was updated successfully, but these errors were encountered: