Will tonfotos create hidden files in directory? I just found that there are some files with the same filename of the photos but just have a “.” in the filename so make it be hidden files. I am not sure which software create such files
hidden files on SMB drive
traveller Tonfotos does create .tonfotos.ini
files with information about people faces on photos. This is mechanism is essential for syncronisation of information for several copies of Tonfotos applicaiton working with the same archive, as well as backup measure for all the work people do with marking up faces of photos.
Please read this to get better understanding: https://community.tonfotos.com/d/186-version-150-people-data-synchronization
Andrey Thanks for clarification
- Edited
The issue isn’t with the hidden .tonfotos.ini file; rather, it’s that there are 50 photos named img12122121.jpg and 50 hidden files with the same names but prefixed with “.” , like .img12122121.jpg. When you try to open these hidden files (which tonfotos can see but Finder can’t, even after using shift + command + . on a Mac), you’ll receive a message indicating that the file is corrupted.
Andrey It’s unfortunate, but this keeps happening whenever I delete files in tonfotos. Instead of being fully removed, tonfotos seems to create a hidden (and corrupted) version of them. I wonder if this issue is related to the files being stored on an SMB share, and whether macOS is unable to use the SMB trash folder named .recycle instead of .Trash?
Picture attached
I believe I’ve found a fix! It appears that tweaking a few settings in the Samba configuration has resolved the issue. I’ll be monitoring the situation, and if it happens again, I’ll let you know. For those dealing with the same Samba share problem, here are the settings I added to smb.conf. I have also highlighted the most important option to be turned on
[global]
macOSx
min protocol = SMB2
vfs objects = catia fruit streams_xattr
fruit:ntfs_aces = yes
fruit:metadata = stream
fruit:posix_rename = yes
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:apple = yes
fruit:model = MacSamba
fruit:delete_empty_adfiles = yes
fruit:zero_file_id = yes
server min protocol = SMB2
WINS Support
wins support = yes
dns proxy = yes