🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #3043

Re: need tin help: tind, permissions!

#3043
From: Sergio L Aponte
Date: Mon, 11 Jan 1993 22:15
67 lines
2981 bytes
Kent C. Brodie (kcb@post.its.mcw.edu) wrote:

: I need some help here folks, and so far, no-one has responded.

: I'm running tin, and also the tind indexing daemon.   I seem to
: have SOME type of permission problem, but don't know
: exactly what.....

: 1) If I leave tin with standard permissions, everything seems 
:    to be fine until the user reads certain groups, and permission
:    errors abound...
:    "/usr1/spool/news/.index/3214.1.3425 - Permission denied."
:    (that's just a sample, but you get the idea).

:    What permissions must the central ".index" directory have?
:    Currently, it looks like this:

	So this are centralized indeces all users in the machine share, right?

	On my machine :

	-rwsr-xr-x  1 newsadm    773149 Oct 14 12:09 tin
	-rwxr-x--x  1 newsadm    200704 Jan  5 16:46 tind

	notice newsadm owns the News installation.

	drwxrwx---  1 newsadm        20 Jun 18  1992 /usr/spool/news
	drwxrwxrwx  2 root         1536 Jan 11 13:45 .index

	the index files are

	-rw-r--r--  1 root          787 Jan  5 16:43 617.1

	That is because tind is runned off cron by root. If I had "su" on the
	cron line to newsadm, then newsadm would own all the index files.


: drwxrwxr-x  2 news        23552 Jan 11 12:34 .index/

:    What permissions should tin have?   Currently, it looks like:

: -rwxr-xr-x  2 news       356352 Dec 30 11:06 tin*
: -rwxr-xr-x  1 news       278528 Nov 24 09:39 tind*

	Notice "tin" should be "suid" to use the centralized indeces. Your Tin
	is 0755, it should be 4755.

: 2) If, in the above, I change tin to "setuid" tin, It gets
:    even weirder...    users posting articles with vi or
:    emacs end up editing ~/.article in "read only" mode.

	This could be because of their umask? Also, setuid to what? It would
	depend a lot on who owns the executable (in your case, news) and what
	it's umask is when creating files...


: Can SOMEONE (hopefully Iaia) PLEASE explain the PROPER way
: to set this up?   I really like tin, and this one last thing
: is really bugging me....

: much thanks!

: -- 
: --------------
: Kent C. Brodie - Sr. Systems/Network Manager		brodie@post.its.mcw.edu
: Information Technology Systems
: Medical College of Wisconsin				(414) 257-8769
Technical Details
Message-ID: <1993Jan11.221506.12473@pony.Ingres.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!charon.amdahl.com!pacbell.com!rtech!ingres!sergio
References: <1isfndINNcou@post.its.mcw.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jan11.221506.12473@pony.Ingres.COM>
Subject: Re: need tin help: tind, permissions!
Date: Mon, 11 Jan 1993 22:15:06 +0000
From: sergio@Ingres.COM (Sergio L Aponte)
References: <1isfndINNcou@post.its.mcw.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!charon.amdahl.com!pacbell.com!rtech!ingres!sergio
Newsgroups: news.software.readers
Organization: Ingres, an ASK Company, Alameda CA 94501
X-Newsreader: TIN [version 1.1 PL8]
Distribution: net
Lines: 67