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

[leafnode-list] I'm in trouble with posting



Hi all! 
First of all sorry for my english :D
I would like to explain my problem, for which i have found no solutions on the 
net (both google and usenet). 
I have installed leafnode 1.9.33 on my slackware 8.1, and it works great. 
But i have problems about posting (from root, i don't use user with sudo). I 
can post only from  inside /var/spool/news/out.going/
When my current working directory is another one, fetchnews absolutly cannot 
post. I strace featchnews and i see this line (i don't paste all the strace, 
but if you need other lines i can send it too): 
#strace fetchnews -Pvv
[...]
open(".", O_RDONLY)                     = -1 EACCES (Permission denied)
write(4, "DATE\r\n", 6)                 = 6
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGALRM, {0x8054820, [], SA_ONESHOT|SA_NOCLDSTOP|0x4000000}, 
NULL, 8) = 0
alarm(900)                              = 0
read(5, "111 20030515132458\r\n", 1024) = 20
alarm(0)                                = 900
rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
time([1053005025])                      = 1053005025
write(4, "QUIT\r\n", 6)                 = 6
close(5)                                = 0
munmap(0x4001d000, 4096)                = 0
close(4)                                = 0
munmap(0x4001c000, 4096)                = 0
write(1, "Disconnected from newsreader.mai"..., 43Disconnected from 
newsreader.mailgate.org.) = 43

As i see in the first line, he try to open the current directory ".", in this 
case it's the /root , and he find no permissions. So, why he try to post 
messages from the current directory and not from /var/spool/news/out.going/ ? 
I cannot understand this thing! I know there are some problems with 
permissions and owners, but i don't know howto resolve this. =) 
My access permissions to some (maybe) interesting directorys are these : 
drwx--x---   74 root     root         4096 May 15 13:41 root/
drwsr-xr-x    2 news     news         4096 May 15 15:22 out.going/
drwxrwsr-x   19 news     news         4096 Apr  2 13:07 news/
i have never changed it  =) 
I hope in any help. thank you in advanced
ciao 
-- 

Eva Schaller

"Le peggiori cose sono sempre fatte con le migliori intenzioni" O.Wilde

***************************
ICQ UIN: 151546024
MSN: e_v_a_sch@xxxxxxxxxxx
***************************

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