In message <[EMAIL PROTECTED]>, Poul-Henning Kamp writes:
>
>===> usr.bin/tip
>install -c -s -o root -g wheel -m 555   tip /flat/syv/usr/bin
>/flat/syv/usr/bin/cu -> /flat/syv/usr/bin/tip
>ln: /flat/syv/usr/bin/cu: Operation not permitted
>*** Error code 1
>
>flat# ls -l /flat/syv/usr/bin/cu
>-r-sr-sr-x  1 uucp  dialer  124384 Oct 21 13:04 /flat/syv/usr/bin/cu
>flat# /flat/src/usr.bin/tip
>flat# cvs log Makefile | less
>[...]
>total revisions: 10;    selected revisions: 10
>description:
>----------------------------
>revision 1.7
>date: 2001/10/30 21:22:08;  author: markm;  state: Exp;  lines: +1 -1
>Make the "dirty, rotten hack" failsafe and quiet if cu(1) does not exist.
>----------------------------
>
>I'm sure there is a connection somewhere...

I should add for completeness:

flat# make -dl install DESTDIR=/
chflags 0 /usr/bin/cu
install -c -s -o root -g wheel -m 555   tip //usr/bin
set /usr/bin/tip /usr/bin/cu;  while test $# -ge 2; do  l=/$1;  shift;  t=/$1;  shift; 
 echo $t -\> $l;  ln -f $l $t;  done; true
//usr/bin/cu -> //usr/bin/tip
install -c -o root -g wheel -m 444 tip.1.gz  //usr/share/man/man1
set `echo tip.1 cu.1 " " | sed 's/\.\([^.]*\) /.\1 \1 /g'`;  while : ; do  case $# in  
0) break;;  [123]) echo "warn: empty MLINK: $1 $2 $3"; break;;  esac;  name=$1; shift; 
sect=$1; shift;  l=//usr/share/man/man${sect}/$name;  name=$1; shift; sect=$1; shift;  
t=//usr/share/man/man${sect}/$name;  echo ${t}.gz -\> ${l}.gz;  rm -f ${t} ${t}.gz;  
ln ${l}.gz ${t}.gz;  done
//usr/share/man/man1/cu.1.gz -> //usr/share/man/man1/tip.1.gz
flat# make -dl install DESTDIR=/flat/syv
chflags 0 /usr/bin/cu
install -c -s -o root -g wheel -m 555   tip /flat/syv/usr/bin
set /usr/bin/tip /usr/bin/cu;  while test $# -ge 2; do  l=/flat/syv$1;  shift;  
t=/flat/syv$1;  shift;  echo $t -\> $l;  ln -f $l $t;  done; true
/flat/syv/usr/bin/cu -> /flat/syv/usr/bin/tip
ln: /flat/syv/usr/bin/cu: Operation not permitted
*** Error code 1

Stop in /flat/src/usr.bin/tip.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to