]> git.eshelyaron.com Git - emacs.git/commit
Use restrictive umask when creating image-dired data
authorStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 19:20:16 +0000 (21:20 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 19:20:16 +0000 (21:20 +0200)
commit56caf1c9b887ccbb6d35a95ca257f633bb71d1d3
treeb18204ab805e521e75bedc0bda90672d571720a6
parent3b5de7f9916c974bf3b2ae3bca90b9812c951eed
Use restrictive umask when creating image-dired data

* lisp/image-dired.el (image-dired-dir)
(image-dired-sane-db-file): Create thumbnail directory and
.image-dired_db with umask 077.  This avoids creating world readable
copies of private data, and is in fact mandated by the Thumbnail
Managing Standard that we aim to support.
lisp/image-dired.el