Article View: news.software.readers
Article #33025Re: Permissions problem
From: John E. Davis
Date: Tue, 22 Apr 1997 00:00
Date: Tue, 22 Apr 1997 00:00
25 lines
1328 bytes
1328 bytes
On 20 Apr 1997 14:29:11 GMT, Ian Macdonald <ianmacd@caliban.xs4all.nl> wrote: >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. Did you try to explicitly add: umask 022 to your ip-up script before running slrnpull? slrnpull creates a file via: fp = fopen (file, "w"); and it does not play with any permissions other than in the out.going directory. --John
Technical Details
Message-ID:
<slrn5lnaja.tvk.davis@mygir.davis.net>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-mailReferences:
<slrn5lk7nn.fa.ianmacd@caliban.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <slrn5lnaja.tvk.davis@mygir.davis.net> Subject: Re: Permissions problem Date: Tue, 22 Apr 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <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 X-Deja-AN: 236555130 Organization: Center for Space Research Newsgroups: news.software.readers