[GH-ISSUE #363] Please ignore dot files from macOS #287

Open
opened 2026-02-25 21:31:37 +03:00 by kerem · 1 comment
Owner

Originally created by @URBANsUNITED on GitHub (Apr 9, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/363

Originally assigned to: @ciur on GitHub.

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

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

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

Originally created by @URBANsUNITED on GitHub (Apr 9, 2021). Original GitHub issue: https://github.com/ciur/papermerge/issues/363 Originally assigned to: @ciur on GitHub. 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
Author
Owner

@ciur commented on GitHub (Apr 11, 2021):

@URBANsUNITED, interesting use case. Ignoring files in monitoring folder is not that difficult to implement.
Thanks for opening this issue!

<!-- gh-comment-id:817307683 --> @ciur commented on GitHub (Apr 11, 2021): @URBANsUNITED, interesting use case. Ignoring files in monitoring folder is not that difficult to implement. Thanks for opening this issue!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#287
No description provided.