[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #32354 [Core Tor/Tor]: Support "Cache Directory Tagging Standard" (already implemented e.g. in GNU tar)



#32354: Support "Cache Directory Tagging Standard" (already implemented e.g. in GNU
tar)
-------------------------+------------------------------
 Reporter:  rm           |          Owner:  (none)
     Type:  enhancement  |         Status:  new
 Priority:  Medium       |      Component:  Core Tor/Tor
  Version:               |       Severity:  Normal
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+------------------------------
 Tor seems to store sizable cached data in /var/lib/tor/diff-cache/. There
 is now a standard for apps to indicate that transient caches like this to
 be skipped from backups: https://bford.info/cachedir/spec.html

 The application needs to create (and recreate) a file called
 "CACHEDIR.TAG" in the cache directory, with content of "Signature:
 8a477f597d28d172789f06886806bc55".

 Skipping cache directories marked as such via this standard is already
 supported for example in GNU tar:

   --exclude-caches
     Exclude  contents  of  directories containing file CACHEDIR.TAG,
 except for the tag file itself.

   --exclude-caches-all
     Exclude directories containing file CACHEDIR.TAG  and the file itself.

   --exclude-caches-under
     Exclude everything under directories containing CACHEDIR.TAG

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32354>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs