I searched for the reason why I couldn't import files sent by Samba from my Mac anymore.
Long time i believed it was a bug coming from Papermerge code - but it looked like no one else had this issue.
Then I believed it was a file permission error.
Both wrong!
It were the dot files coming from macOS.
like ._DS_Store or similar:
After deleting these files in my import dir, the import job worked flawless!
I searched for an easy fix on my side and found it:
add to your samba config on your server (/etc/samba/smb.conf) following line:
*veto files = /._/.DS_Store/**
I've added this to my OMV server inside the share directly under advanced options:
after restarting the samba service, these files are history on your next file transfers using samba :)
It would be great if you could implement an ignore function on the import dir, based on above logic for these files please?!?
Hi!
I searched for the reason why I couldn't import files sent by Samba from my Mac anymore. Long time i believed it was a bug coming from Papermerge code - but it looked like no one else had this issue. Then I believed it was a file permission error. Both wrong!
It were the dot files coming from macOS. like ._DS_Store or similar:![Bildschirmfoto 2021-04-09 um 17 50 25](https://user-images.githubusercontent.com/6212300/114206934-23b46d00-995c-11eb-9e26-0982b6de8e24.png)
After deleting these files in my import dir, the import job worked flawless! I searched for an easy fix on my side and found it:
add to your samba config on your server (/etc/samba/smb.conf) following line:
*veto files = /._/.DS_Store/**
I've added this to my OMV server inside the share directly under advanced options:![Bildschirmfoto 2021-04-09 um 17 56 56](https://user-images.githubusercontent.com/6212300/114207754-06cc6980-995d-11eb-8f1d-c0916b9920bc.png)
after restarting the samba service, these files are history on your next file transfers using samba :)
It would be great if you could implement an ignore function on the import dir, based on above logic for these files please?!?
Thanks alot
URBANsUNITED