🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32944

Permissions problem

#32944
From: Ian Macdonald
Date: Sun, 20 Apr 1997 00:00
27 lines
1597 bytes
Hi folks,

slrnpull is still performing well here, but still has the same
niggling problem that I posted about a few weeks ago.

I run slrnpull from my ip-up script, so all new messages are
downloaded whenever I go on-line. However, the permissions of all new
articles are set to -rw-------, which means only the user news can
read them. After every on-line session, I am thus forced to run a
chmod script as root to make everything group readable.

I just don't understand this, because new's umask is 022. Indeed, if I
su news at the prompt and then execute slrnpull, I get the desired 755
permissions. The problem must therefore, I assume, be related to the
running of ip-up, which is started by ipppd (the ISDN version of
pppd). Unfortunately, the man page of ipppd says that ip-up is run as
root, but root also has a umask of 022, so I'm none the wiser.

Has anyone got any ideas on this?

Ian
-- 
Ian Macdonald (ianmacd@xs4all.nl)
Linux 2.0.30 on an i686

Technical Details
Message-ID: <slrn5lk7nn.fa.ianmacd@caliban.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn5lk7nn.fa.ianmacd@caliban.xs4all.nl>
Subject: Permissions problem
Date: Sun, 20 Apr 1997 00:00:00 +0000
From: ianmacd@caliban.xs4all.nl (Ian Macdonald)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 236144039
X-OS: Red Hat Linux 2.0.30
X-XS4ALL-Date: Sun, 20 Apr 1997 16:29:11 CEST
Organization: Another Linux Box
Reply-To: ianmacd@xs4all.nl
Newsgroups: news.software.readers