Article View: news.software.readers
Article #238687Re: [leafnode] news user home directory
From: Moe Trin
Date: Sun, 13 Dec 2009 18:25
Date: Sun, 13 Dec 2009 18:25
57 lines
3281 bytes
3281 bytes
On Sun, 13 Dec 2009, in the Usenet newsgroup news.software.readers, in article
<20091213130759.184@usenet.piggo.com>, _JusSx_ wrote:
>Sometimes fetchnews reports this error:
>
>#v+
>Could not chdir to HOME dir "/usr/lib/news": No such file or directory
>#v-
>
>I gave a look at /etc/passwd and I found out that gentoo linux system
>sets news user home directory to /usr/lib/news. However leafnode
>installation script doesn't create /usr/lib/news but /var/lib/news and
>/var/spool/news.
>From the Filesystem Hierarchy Standard from http://www.pathname.com/fhs/
-------
/usr/lib : Libraries for programming and packages
Purpose
/usr/lib includes object files, libraries, and internal binaries that
are not intended to be executed directly by users or shell scripts. [22]
Applications may use a single subdirectory under /usr/lib. If an
application uses a subdirectory, all architecture-dependent data
exclusively used by the application must be placed within that
subdirectory. [23]
-------
Now clearly, the /usr/lib/news isn't meant to be a _home_ directory.
>So I'm wondering what directory is the user news' home. Which one
>should I use?
Your system - your rules. ;-)
>Of course I don't think it exists a standard, but I Would like to know
>your opinion.
I'm not using Gentoo, nor leafnode, but you have two alternatives.
You can create the non-standard /usr/lib/news - and no Linux police
will come to your door to arrest you. Or you could tell leafnode
to use another directory. I've got slrn (slrnpull) using
/var/spool/slrnpull as it's home, and there is a
/var/spool/slrnpull/bin/ for some of the extra tools I use with that
application. /var/lib is meant for
/var/lib : Variable state information
and /var/spool for
/var/spool : Application spool data
so it's your choice.
Old guy
Technical Details
Message-ID:
<slrnhiacc9.mpv.ibuprofin@compton.phx.az.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.toastnet!news.posted.toastnet.POSTED!not-for-mailReferences:
<20091213130759.184@usenet.piggo.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnhiacc9.mpv.ibuprofin@compton.phx.az.us> Subject: Re: [leafnode] news user home directory Date: Sun, 13 Dec 2009 12:25:14 -0600 From: ibuprofin@painkiller.example.tld.invalid (Moe Trin) References: <20091213130759.184@usenet.piggo.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.toastnet!news.posted.toastnet.POSTED!not-for-mail NNTP-Posting-Date: Sun, 13 Dec 2009 12:25:13 -0600 Newsgroups: news.software.readers User-Agent: slrn/0.9.5.4 (UNIX) Lines: 57 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 63.16.31.119 X-Trace: sv3-Ar2NUc8smkq/FuCHC/QCE3P4c2yqv5LxJKz9Hin+YAUUWjHYOBZRM1JdoRPI1xL/2DTExHFVPDUouRZ!Aj7Fgb+I629ChAEY9CTo2BC5gZcuHS5QULv9IoVf/KKpt3225uRfErqVdgEasjmcBqvFV+QaZ0EK!lXkT5UJLDBICevvBEDo5 X-Complaints-To: abuse@toast.net X-DMCA-Complaints-To: abuse@toast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40