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

[leafnode-list] Re: fetchnews -vvv OK but not telneting ?



Yvon Thoraval schrieb am 2006-11-02:

> for a unknown reason leafnode perms was :
> 
> $ sudo ls -al /usr/local/sbin
> [snip]
> srwx------    1 news  news         0 Oct 26 12:02 leafnode
> ^--------------------------------------- 
> ^---------------------------------- ???
> 
> i know leafnode is a "light" nntp server but to this point of being  
> zero size ;-)

And the permissions can be a bit more relaxed. r-x for the group would
be fine, and the setuid-to-news doesn't hurt either if you trust all
your local and shell (as in SSH access) users.

> then i've trashed every bins belonging to leafnode and reinstall  
> leafnode again with JK dmg package and get :
> 
> -rwxr-xr-x    1 root  wheel   165552 Dec 15  2005 leafnode

This doesn't seem to be the latest version though.

> now the "503 Server misconfiguration: cannot read configuration file."
> 
> first i've to say it was the FIRST time i've used a standard text  
> editor in order to edit leafnode's config files.
> 
> (i post that here for the purpose of lists's archive)
> 
> i've made use, to open a config file, of the command line :
> 
> sudo open <the config file>
> 
> which opens it in SubEthaEdit
> 
> and also with the command line :
> 
> mate <the config file> which opens it using TextMate.
> 
> one of those had changed the owner of the config file to :
> 
> user = yvon (me)
> group : admin
> 
> 
> after changing "manually" the file owner to news, leafnode didn't  
> complain anymore about misconfiguration.

Yes. The exact reason such as "permission denied" should have been in
the logs anyways.

Glad you've got it sorted out and merci for your followups.

Best regards,

-- 
Matthias Andree
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/