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

RE: [leafnode-list] [PATCH] storearticle() didn't check for local groups



I have created 000-999 via a script; posting now works.

Thank you to all who cared, Cornelius, Jorg, Matthias.  Really!  I think the
world is a better place because of your patient kindness.

Sidenote, the script created the wrong directories for us; "echo $$"
displays a process id, I think.  I changed all $$ to $ and it worked.
Thanks for the form.
[root@arendi1 message.id]# ls
2755{a}2755{b}0  2755{a}2755{b}3  2755{a}2755{b}6  2755{a}2755{b}9
2755{a}2755{b}1  2755{a}2755{b}4  2755{a}2755{b}7
2755{a}2755{b}2  2755{a}2755{b}5  2755{a}2755{b}8

-----Original Message-----
From: Cornelius Krasel [mailto:krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]

<snip>

#!/bin/sh
cd /var/spool/news/message.id
for a in 0 1 2 3 4 5 6 7 8 9
do
   for b in 0 1 2 3 4 5 6 7 8 9
   do
       mkdir -p $${a}$${b}0 $${a}$${b}1 $${a}$${b}2 \
                $${a}$${b}3 $${a}$${b}4 $${a}$${b}5 \
                $${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
                $${a}$${b}9
       chown news:news $${a}$${b}0 $${a}$${b}1 $${a}$${b}2 \
                       $${a}$${b}3 $${a}$${b}4 $${a}$${b}5 \
                       $${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
                       $${a}$${b}9
    done
done

--Cornelius.


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list