← Back to team overview

pytagsfs team mailing list archive

maildir, sourcetreemon and supports_writes()

 

I wanted to see how maildir.py plays with multitags,

Eg, source/mail.txt contains:
	X-Pytagsfs-Tag: plop
I expect that if:
    mnt/
    ├── plop
    │   └── mail.txt


...then
	mv plop plop2
...should makes source/mail.txt contain:
	X-Pytagsfs-Tag: plop2
...and
	cp -a plop2 plop3
...should make sources/mail.txt contain:
	X-Pytagsfs-Tag: plop2
	X-Pytagsfs-Tag: plop3

but I noticed that mnt is mounted read-only.
It is probably related to the fact that:
   pytagsfs/sourcetreemon/maildir.py
- does not exist
- so of course does not contains "def supports_writes(self): return True"

my question is: why ?

Raph


Follow ups