[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: slrnpull + trn?



On Sat, Jul 04, 1998 at 09:03:21AM -0300, Trevor Barrie wrote:
> On Fri, 3 Jul 1998, Johann Spies wrote:
> 
>> I use slrn --spool.  I can't remember the details, but I know at first I
>> had a lot of trouble to get it to work.  If I remember correctly, I, as
>> root, deleted the /var/news/ directory because of trouble getting the
>> correct permissions.  Thereafter the slrnpull created the directory with
>> the correct permissions.
> 
> Could you summarize what the correct permissions are? I'd rather not
> have to redownload what I've got now if I can help it.

Here are the permissions in my working setup. I think I had problems
with article storage permissions way back when.

$ ls -l /var/spool/slrnpull/
drwxr-xr-x   2 news     news         1024 Jul  4 11:56 data
-rw-------   1 root     news      1899351 Jul  4 11:56 log
drwxr-xr-x  13 news     news         1024 Apr 28 14:05 news
drwxrwxrwx   3 news     news         1024 Jun 20 11:05 out.going
-rw-r--r--   1 news     news         1854 May 22 09:26 slrnpull.conf

$ ls -l /var/spool/slrnpull/news/
drwxr-xr-x   3 root     pann         1024 Mar 22 08:55 agora
drwxr-xr-x   3 root     pann         1024 Mar 22 08:55 aol
drwxr-xr-x   4 root     pann         1024 May 22 07:50 linux
drwxr-xr-x   3 root     pann         1024 Mar 22 08:55 nevada
drwxr-xr-x   4 root     pann         1024 Mar 22 08:55 or
drwxr-xr-x   4 news     news         1024 Mar 22 08:55 orst
drwxr-xr-x   3 root     pann         1024 Apr 28 14:05 pdaxs
drwxr-xr-x   4 root     pann         1024 Mar 22 08:55 pdx
drwxr-xr-x   4 root     pann         1024 Mar 22 08:55 pnw
drwxr-xr-x   3 root     pann         1024 Mar 22 08:55 portland
drwxr-xr-x   3 root     pann         1024 Mar 22 08:55 seattle

$ ls -l /var/spool/slrnpull/news/pdx/
drwxr-xr-x   2 root     pann        12288 Jul  4 11:55 forsale
drwxr-xr-x   2 root     pann         9216 Jul  4 06:58 singles


I also had to put this umask line in my ip-up script to get things
going, as I recall.
. . .
# last line
umask 022
# begin: SLRNPULL_WITH_PPP (automatically added by slrnconfig)
source /etc/slrnget.conf
if [ "$USE_SLRNPULL" = "y" -a "$SLRNPULL_WITH_PPP" = "y" ] ; then slrnpull -h `cat /etc/news/server` >/dev/null; fi

# end: SLRNPULL_WITH_PPP


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: