public inbox for nncp-devel@lists.stargrave.org
Atom feed
* [nncp-devel] NNCP user/group permissions
@ 2019-10-20  3:34 John Goerzen
  2019-10-22 11:32 ` Sergey Matveev
  2019-11-15 17:37 ` Sergey Matveev
  0 siblings, 2 replies; 3+ messages in thread
From: John Goerzen @ 2019-10-20  3:34 UTC (permalink / raw)
  To: nncp-devel

Hi Sergey & the group,

First, thanks for your work on NNCP!  As a guy that used UUCP way back,
I appreciate a very well-done successor.

The question I have pertains to directory ownership and permissions.
Basically:

1) What user/group should own /var/spool/nncp and what should the
permissions on that directory be?

2) What user/group should own /etc/nncp.yaml and what should the
permissions on that file be?

3) What user/group should various programs run as?  I would imagine that
nncp-file should run as individual users but maybe nncp-daemon should
run as a system nncp user or some such.

In playing around with this a bit, I found that /etc/nncp.yaml has to be
world-readable (or, at the very least, group-readable if I put all the
users that are allowed to run nncp commands into an nncp group).
/var/spool/nncp is a bit of a tough one; I tried making an nncp group
and marking that directory g+ws, but when I ran nncp-file as my jgoerzen
user, it created a number of directories owned by jgoerzen and without
group write permission.

I found a few references in the manual to an nncpuser account but
nothing very explicit.

For what it's worth, I am a Debian developer and am also packaging up
NNCP for Debian.  This will also cause it to be included in Ubuntu and
other Debian derivatives in the future.

Thanks again!

- John

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-15 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20  3:34 [nncp-devel] NNCP user/group permissions John Goerzen
2019-10-22 11:32 ` Sergey Matveev
2019-11-15 17:37 ` Sergey Matveev