🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262849

Re: [slrn] Warning: Could not save list of requested bodies

#262849
From: Héctor Abreu
Date: Mon, 03 Sep 2018 21:29
72 lines
3894 bytes
On 2018-09-02, Pettersen,Roald <roald@nomail.invalid> wrote:
>>> I'm trying to use the true offline feature with slrn and slrnpull. When
>>> I mark a message for download and I try to leave the group and go to the
>>> lists of groups, slrn will show me the following message at the bottom:
>>>
>>> "Warning: Could not save list of requested bodies."
>>>
>>> I followed the steps on setgid.txt, everything works fine (posting and
>>> reading in spool mode) but this true offline feature won't save the
>>> requests nor download the marked messages for me. I am planning to use
>>> slrn and slrnpull in a multiuser setup.
>>>
>>> I am using Devuan 2.0, which has slrn 1.7 version.
>>>
>>> Thank you in advance for any hint or help.
>>
>> Update:
>>
>> I have a cron for root running the following script:
>>
>> chown -R news.news /var/spool/slrnpull
>> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>>
>> So I guessed the "requests" folder should have the same permissions as
>> out.going, and I added a line to include it. Now the script is:
>>
>> chown -R news.news /var/spool/slrnpull
>> chmod ugo+rwxt /var/spool/slrnpull/requests
>> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>>
>> But now the error message when I try to mark messages for download is:
>>
>> "Error opening /var/spool/slrnpull/requests/habreu"
>>
>> Being "habreu" my username. I'm not sure if it's a permissions conflict
>> between my user and the "news" user who is running another cron.
>>
>> I would appreciate your help. Thank you in advance.
>
> I use slrn as roald and slrnpull is runned by root
>
> roald@APHeee:~$ ls -l /var/spool/slrnpull/
> drwxrwsrwt 3 root root 4096 sep  2 03:14 out.going
> drwxrwsrwt 2 root root 4096 sep  2 08:27 requests
>     
> roald@APHeee:~$ ls -l /var/spool/slrnpull/out.going/
> drwxrwsrwt 2 root  root 4096 jul  8 06:38 rejects
> -rw-r----- 1 roald root 2160 sep  2 08:47 X1535870506-11982-0.roald
>     
> roald@APHeee:~$ ls -l /var/spool/slrnpull/requests/
> -rw-r----- 1 roald root 0 sep  2 08:27 roald

Thank you for guiding me in the right direction, it helped me a lot to
see the details of your file permissions.

So I set my file permissions as follows in order to make true offline
feature to work in spool mode, setgid, multiuser: 

chown -R news.news /var/spool/slrnpull
chmod g+ws,+t /var/spool/slrnpull/out.going
chmod g+ws,o+w,+t /var/spool/slrnpull/requests

See:
https://tracker.debian.org/media/packages/s/slrn/rules-1.0.3a-1

slrnpull is run by user "news" via cron, as described in setgid.txt in
slrnpull documentation. I am using Devuan, so the above may work for
Debian and derivatives.

Regards,
-- 
Héctor Abreu
Technical Details
Message-ID: <pmk93b$opu$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <pmf7ct$c45$1@dont-email.me> <pmfg65$mdt$1@dont-email.me> <pmg1md$vmn$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <pmk93b$opu$1@dont-email.me>
Subject: Re: [slrn] Warning: Could not save list of requested bodies
Date: Mon, 03 Sep 2018 21:29:15 +0000
From: Héctor Abreu <invalid@invalid.invalid>
References: <pmf7ct$c45$1@dont-email.me> <pmfg65$mdt$1@dont-email.me> <pmg1md$vmn$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Spanish Connector
Lines: 72
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 3 Sep 2018 21:29:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4bb4e8af4bd718a1fc14af4f9597ba92";
 logging-data="25406"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RNhe3KWVqg2k0sUro/uBb1B2oIIlKeR5mCSTqVYoeWA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:I8ROGwGxfJ371Q9OWP8V/zL1+5k=
X-Received-Bytes: 3848
X-Received-Body-CRC: 1185451413