mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #363] Please ignore dot files from macOS #287
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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?!?
Thanks alot
URBANsUNITED
@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!