🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80148

Re: inncheck complaining about file permissions.

#80148
From: Julien ÉLIE
Date: Sat, 21 Feb 2009 10:53
37 lines
2622 bytes
Hi Jeffrey,

> I think it would be nice to have it accept a variety of reasonable
> options for permissions.  Certainly one can make a good case for
> a config where files outside of db, run, spool, and tmp are
> readonly for the news user.  Or for a config where nearly
> everything is no access for non-news users.

Why wouldn't the files in etc be writable by the news user?


I see that /etc/news/incoming.conf is made 644 by Debian whereas
INN installs it as 640 and D. Stussy wants it to be 440.

How can we handle that?
Only putting a bitwise mask of 0133 to the mode of this file?
It will be the best we could...


Similarly, /var/spool/news/articles is made 775 by Debian whereas
INN installs it as 755.

Should we only check it with a bitwise mask of 0002?

Should we also allow both the news user/group and "root" as users
and groups?


I do not see a way to satisfy everybody (except for something like
*664* and *775*, which is not very appealing...).  I do not know
what to do as for the permissions checks in inncheck.

-- 
Julien ÉLIE

« Tous les champignons sont comestibles. Certains, une fois seulement. » 
Technical Details
Message-ID: <gnomfm$bjs$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <slrngo2sg3.380.steve@news.mixmin.net> <gnj1bp$lhr$1@news.trigofacile.com> <gnlb1b$sgn$1@aux.snarked.org> <gnlkqh$er9$1@news.trigofacile.com> <gnnlcd$r5o$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <gnomfm$bjs$1@news.trigofacile.com>
Subject: Re: inncheck complaining about file permissions.
Date: Sat, 21 Feb 2009 11:53:17 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrngo2sg3.380.steve@news.mixmin.net> <gnj1bp$lhr$1@news.trigofacile.com> <gnlb1b$sgn$1@aux.snarked.org> <gnlkqh$er9$1@news.trigofacile.com> <gnnlcd$r5o$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 37
NNTP-Posting-Host: aaubervilliers-151-1-43-236.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1235213622 11900 83.112.152.236 (21 Feb 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 21 Feb 2009 10:53:42 +0000 (UTC)
In-Reply-To: <gnnlcd$r5o$1@puck.litech.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049