logo       

Re: prefix & below ownership: msg#00101

network.inn

Subject: Re: prefix & below ownership

In article <5015106532.20030513232745@xxxxxxxxxx>,
Ilya A. Kovalenko <shadow@xxxxxxxxxx> wrote:
| Greetings,
|
| When INN installed with prefix "/usr/local", /usr/local and all
| toched subdirs (bin, include, lib man) ... become owned by news :)
| INN is not desined to install on /usr/local ?

You really meant to say /usr/local/news, but you have figured that out
by now;-)

The doc should warn that the directory and all in it will be owned by
news, and the build should check that the directory is either not
present or is owned by news. Some subtle question like "Hey dude, you are
about to mess with ownership of XXX, does that sound like a good idea to
you?" or something more formal but equally informative. Make the user
point to the foot in which he wants to shoot himself.


| before:
|
| drwxr-xr-x 11 root wheel 512 May 11 10:16 local
| ---------
| drwxr-xr-x 2 root wheel 512 May 11 10:16 bin
| drwxr-xr-x 3 root wheel 512 May 11 10:16 include
| drwxr-xr-x 2 root wheel 512 May 11 10:16 info
| drwxr-xr-x 3 root wheel 512 May 11 10:16 lib
| drwxr-xr-x 3 root wheel 512 May 11 10:16 libdata
| drwxr-xr-x 2 root wheel 512 May 11 10:16 libexec
| drwxr-xr-x 25 root wheel 512 May 11 10:16 man
| drwxr-xr-x 2 root wheel 512 May 11 10:16 sbin
| drwxr-xr-x 8 root wheel 512 May 11 10:16 share
|
| after:
|
| drwxr-xr-x 11 news news 512 May 11 10:16 local
| -------
| drwxr-xr-x 6 news news 2048 May 11 11:35 bin
| drwxr-xr-x 4 news news 512 May 11 11:35 include
| drwxr-xr-x 2 root wheel 512 May 11 10:16 info
| drwxr-xr-x 3 news news 512 May 11 11:35 lib
| drwxr-xr-x 3 root wheel 512 May 11 10:16 libdata
| drwxr-xr-x 2 root wheel 512 May 11 10:16 libexec
| drwxr-xr-x 25 news news 512 May 11 10:16 man
| drwxr-xr-x 2 root wheel 512 May 11 10:16 sbin
| drwxr-xr-x 8 root wheel 512 May 11 10:16 share
--
bill davidsen <davidsen@xxxxxxx>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise