* Permissions of files created by notmuch
@ 2018-03-18 3:30 Georg Faerber
2018-03-18 13:46 ` David Bremner
2018-03-18 15:17 ` Daniel Kahn Gillmor
0 siblings, 2 replies; 3+ messages in thread
From: Georg Faerber @ 2018-03-18 3:30 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
Hi all,
I'm using notmuch 0.26-1+b2 out of Debian unstable.
The files created inside .notmuch/xapian by notmuch are group and world
readable. Is this on purpose? This seems quite suboptimal, especially
if one is using the recently introduced cleartext indexing feature..
Any feedback appreciated,
cheers,
Georg
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Permissions of files created by notmuch
2018-03-18 3:30 Permissions of files created by notmuch Georg Faerber
@ 2018-03-18 13:46 ` David Bremner
2018-03-18 15:17 ` Daniel Kahn Gillmor
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2018-03-18 13:46 UTC (permalink / raw)
To: Georg Faerber, notmuch
Georg Faerber <georg@riseup.net> writes:
> Hi all,
>
> I'm using notmuch 0.26-1+b2 out of Debian unstable.
> The files created inside .notmuch/xapian by notmuch are group and world
> readable. Is this on purpose? This seems quite suboptimal, especially
> if one is using the recently introduced cleartext indexing feature..
>
I would expect Xapian (and hence notmuch) to use the users umask when
creating those files. Are you saying that's not the case, or that you
expect Xapian/notmuch to override the user's umask?
d
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Permissions of files created by notmuch
2018-03-18 3:30 Permissions of files created by notmuch Georg Faerber
2018-03-18 13:46 ` David Bremner
@ 2018-03-18 15:17 ` Daniel Kahn Gillmor
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2018-03-18 15:17 UTC (permalink / raw)
To: Georg Faerber, notmuch
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
On Sun 2018-03-18 04:30:06 +0100, Georg Faerber wrote:
> I'm using notmuch 0.26-1+b2 out of Debian unstable.
> The files created inside .notmuch/xapian by notmuch are group and world
> readable. Is this on purpose? This seems quite suboptimal, especially
> if one is using the recently introduced cleartext indexing feature..
is your mailbox itself world-readable? What is your umask?
in general, i'd expect notmuch to follow umask like any other unix
tool. if we wanted it to be more restrictive, maybe that's a separate
use case.
See also discussion at id:20180209041058.4037-1-dkg@fifthhorseman.net
around whether "notmuch insert" and other tools should produce
world-readable files by default.
curious to hear what you think is the right choice here.
--dkg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-18 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-18 3:30 Permissions of files created by notmuch Georg Faerber
2018-03-18 13:46 ` David Bremner
2018-03-18 15:17 ` Daniel Kahn Gillmor
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).