worm retention not set if attribute change by Samba
I have setup SamFS WORM 5.3.14 emul_lite.
Worm capability works if I use chmod -w <file>. But if I set the file attributes via Samba the worm retention is not set:
# sls -D
Microsoft Word-Dokument (neu).docx:
mode: -r--r--r-- links: 1 owner: root group: root
length: 12643 admin id: 0 inode: 1040.5
project: system(0)
access: Aug 21 14:26 modification: Aug 21 14:20
changed: Aug 21 14:22 attributes: Aug 21 14:20
creation: Aug 21 14:20 residence: Aug 21 14:20
Neu Microsoft Word-Dokument (2).doc:
mode: -r--r--r-- links: 1 owner: root group: root
length: 19968 admin id: 0 inode: 1039.3
project: system(0)
access: Aug 21 14:11 modification: Aug 21 14:05
changed: Aug 21 14:09 retention-end: Aug 21 15:09 2014
creation: Aug 21 14:05 residence: Aug 21 14:05
retention: active retention-period: 0y, 0d, 1h, 0m
testfile.txt: