Thread View: news.software.readers
3 messages
3 total messages
Started by Kent C. Brodie
Mon, 11 Jan 1993 18:53
need tin help: tind, permissions!
Author: Kent C. Brodie
Date: Mon, 11 Jan 1993 18:53
Date: Mon, 11 Jan 1993 18:53
38 lines
2025 bytes
2025 bytes
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: 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* 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. 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
Re: need tin help: tind, permissions!
Author: Sergio L Aponte
Date: Mon, 11 Jan 1993 22:15
Date: Mon, 11 Jan 1993 22:15
67 lines
2981 bytes
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
Re: need tin help: tind, permissions!
Author: Eduardo Rodriguez
Date: Mon, 11 Jan 1993 22:47
Date: Mon, 11 Jan 1993 22:47
37 lines
2311 bytes
2311 bytes
In article <1isfndINNcou@post.its.mcw.edu>, kcb@post.its.mcw.edu (Kent C. Brodie) writes:
>
> 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:
>
> 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*
In my system, tin is always owned by root, the other permissions
are the same, and i had never permission problem. (my system
is a bit complex to give you a description here, but i can
send it to you personally if you like).
So, where the "Permission denied" problem appears?, when reading?,
when the deamon updates the index?
edo...
//// Fortuna mia la de ```\ . Eduardo Rodriguez .
c-OO concurrir aqui, por OO-c . erodrigu@dcc.uchile.cl .
\ virtud de la palabra. / . Dpto Cs de la Computacion .
- *bow* - . Universidad de Chile .
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads