freebsd-dev/usr.sbin
bde a270fbb894 Backed out previous commit. chown(8) doesn't follow symlinks by
default, at least in BSD.  This used to be automatic, because chown(2)
didn't follow symlinks.  When chown(2) was changed to follow symlinks
in BSD4.4, chown(8) was changed to not follow symlinks by default.
The previous commit broke this.  The first victim was bsd.prog.mk,
which uses a plain chown in an attempt to change the ownership of the
symlinks to `dm' in /usr/games.  This fails when it is done before
dm is installed, or messes up the ownership of dm if dm is installed.

Unfixed problems:
1. When lchown(2) was implemented, chown(8) wasn't changed to implement
   the historical behaviour of changing ownership of symlinks.  I'm not
   sure if it should have been.  The -HLP options give more complete
   control, but they unfortunately don't apply unless the -R option is
   specified (a problem shared with other commands, e.g., cp; I guess
   we're supposed to use -R even for non-recursive traversals).
2. If we implement the historical behaviour, then -h would become a no-op
   and should be left undocumented.
3. The man page suggests that without option -h, all symlinks (to files
   specified in the command line?) are followed.  It's not clear what
   "the file" is.  These bugs were introduced when -h was documented.
4. The correct interaction of -h with the other flags is not clear.
1998-05-03 04:17:48 +00:00
..
ac Style in rcsid, sort #include. 1997-09-01 06:11:40 +00:00
accton Use err(3). 1997-09-01 06:12:37 +00:00
adduser MF22: Remove confusing comma 1998-03-18 16:21:55 +00:00
amd Fixes for using amd with non-NFSv3 servers and for choosing the right address 1998-04-13 12:11:24 +00:00
apm .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
apmconf .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
arp Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
bad144 Fixed printing of and comparison with d_typename[]. It is not always 1997-12-12 18:01:57 +00:00
bootparamd Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus 1998-04-26 16:31:14 +00:00
cdcontrol The status command prints the audio position, the media catalog and the 1998-01-26 00:57:54 +00:00
chown Backed out previous commit. chown(8) doesn't follow symlinks by 1998-05-03 04:17:48 +00:00
chroot Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
ckdist Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
config Support PC-98 machine. 1998-05-02 01:57:39 +00:00
cron .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
crunch .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
ctm Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
dev_mkdb Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
diskpart Fix: too many arguments passed to fprintf(). 1997-11-18 05:56:03 +00:00
dpt Undouble. 1998-05-01 15:51:23 +00:00
edquota Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
fdcontrol .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
fdformat fd(4) referenced in HISTORY has nothing to do with floppy disks; 1998-04-20 11:34:47 +00:00
fdwrite .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
inetd Document the requirement for TCPMUX to also be enabled as an internal 1998-04-13 15:05:14 +00:00
iostat Use err(3). 1997-09-19 06:27:30 +00:00
ipfstat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipftest Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipmon Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipnat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipresend Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipsend Fixed syntax error for `make checkdpadd'. libfl.a should never be 1998-04-28 05:31:41 +00:00
iptest Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
IPXrouted Major IPXrouted rework. 1997-07-06 07:38:36 +00:00
kbdcontrol Fix the output of `kbdcontrol -L _keymap_file_' which I broke in the last 1998-01-12 23:53:26 +00:00
kbdmap .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
kernbb Typo fix. 1997-10-12 11:51:25 +00:00
keyadmin Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-23 06:32:33 +00:00
keyserv Fixed DPADD. 1997-12-16 17:43:33 +00:00
kgmon Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
kvm_mkdb Statisize usage(). Add return(0) for -wall. 1997-09-24 06:44:12 +00:00
lpr Make ``-h'' follow the manpage, and suppress the burst page reguardless of 1998-04-17 17:25:49 +00:00
lptcontrol .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
manctl Stylistic changes in man page. 1997-09-25 06:38:17 +00:00
mixer .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
mkdosfs .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
mount_portalfs Removed definition of _NEW_VFSCONF. The new vfsconf interface is now 1998-01-20 10:40:18 +00:00
mountd Converted to Lite2 mount interface - use vfc_typenum from the 1998-01-20 15:22:27 +00:00
moused .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
mptable .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
mrouted .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
mtest Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
mtree Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
named Don't override BINOWN and BINGRP by setting them to "bin". Use the 1997-05-17 11:53:03 +00:00
named.reload Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
named.restart Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
natd Fix incorrect flag spec 1998-04-18 10:05:38 +00:00
ncrcontrol Chnage the profiling printout to reflect that they are not 1998-03-30 10:09:05 +00:00
ndc Check named_enable rather than just named_flags. 1997-06-18 01:55:19 +00:00
newsyslog .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
nfsd Don't give examples or use the depreciated usage to nfsd 1998-05-01 13:45:04 +00:00
nologin An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5 1997-03-03 06:47:27 +00:00
nslookup Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
pccard Keywords "iosize" and "memsize" are unused since 1.5. Removed. 1998-04-25 18:10:10 +00:00
pciconf Sync usage string with man page. 1997-10-06 11:38:30 +00:00
pcvt Don't build files at install time (just to be consistent; the problem 1998-04-20 15:28:02 +00:00
periodic .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
pkg_install Fix dependent-package loading when pkg_adding with an FTP URL. I broke 1998-04-12 16:01:10 +00:00
pnpinfo Style police. 1998-03-12 12:54:25 +00:00
portmap Don't clobber errno when reaping child processes. 1998-04-26 01:00:00 +00:00
ppp Quieten gcc-2.8.1 1998-04-25 09:16:23 +00:00
pppctl Quiet -Wall in gcc-2.8.1 1998-03-22 00:43:04 +00:00
pppd ppp-2.3.x ships with a bad compression number for deflate. It uses number 1998-03-22 06:57:20 +00:00
pppstats merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
procctl Use err(3). Change Synopsis to SYNOPSIS (needed for macro expansion) and 1998-01-05 07:19:15 +00:00
pstat Set the input and output buffer sizes and the input buffer watermarks 1998-03-07 15:36:29 +00:00
pw .Nm pw -> .Nm. 1998-03-23 08:28:12 +00:00
pwd_mkdb Allow specification of cache-size to pwd_mkdb 1998-04-19 07:15:34 +00:00
quot Started getting rid of the compatibility cruft for the Lite1 mount() 1998-01-17 16:45:03 +00:00
quotaon Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
rarpd Fix bug in rarpd: 1998-04-02 13:20:15 +00:00
repquota Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
rmt Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
rndcontrol .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
rpc.lockd Fixed `make -jN' for large N, as usual. 1998-03-06 14:34:47 +00:00
rpc.statd Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies 1998-03-06 07:00:28 +00:00
rpc.yppasswdd Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus 1998-04-26 16:31:14 +00:00
rpc.ypupdated Fixed `make -jN' for large N, as usual. 1998-03-06 14:40:42 +00:00
rpc.ypxfrd .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
rtprio .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
rwhod There is no "rwho" service, it's "who" 1998-04-23 19:12:41 +00:00
sa .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
sade Add ftp4.ru 1998-04-16 13:55:11 +00:00
sendmail grr....forgot a bug fix in rewrite rules on hub 1998-03-23 21:32:10 +00:00
sgsc .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
sicontrol .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
sliplogin Insist that the user has group network. 1997-09-05 23:11:28 +00:00
slstat Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
spkrtest Typo. 1997-10-20 12:43:03 +00:00
spray Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
stallion Remove optind (getopt() already knows about it). 1998-01-12 08:01:40 +00:00
sysctl Install sysctl in /sbin. It is used in some cases in network_pass1(), 1997-12-18 15:34:08 +00:00
sysinstall Note usage of Linux PLIP peer. 1998-04-20 06:18:36 +00:00
syslogd Augment the last change after some deliberation with rgrimes & peter. 1998-04-24 17:32:23 +00:00
tcpdump .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
timed Make all strings representing hostnames to be NUL-terminated within 1997-10-31 12:33:14 +00:00
traceroute Import Lite2's src/usr.sbin, except for timed. All changed files 1997-08-02 19:36:03 +00:00
trpt Use err(3). Add usage() and prototypes. 1997-10-22 06:23:12 +00:00
tzsetup Minor brace gymnastics so that /etc/wall_cmos_clock is really 1998-01-10 15:55:11 +00:00
vidcontrol Use err(3). Stylistic changes in man page. 1997-10-27 07:52:10 +00:00
vipw Statisize usage(). 1997-10-27 07:53:22 +00:00
vnconfig Use err(3). Add prototypes. Document -s and -r flags. 1997-10-27 07:55:31 +00:00
watch .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
wlconfig Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
wormcontrol .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
xntpd Removed self-inclusion-prevention ifdef. It is unnecessary now that 1998-05-01 15:39:46 +00:00
xten .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
yp_mkdb .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
ypbind .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
yppoll .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
yppush .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
ypserv .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
ypset .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
zic Convert to mdoc. 1998-02-04 07:30:11 +00:00
Makefile In light of the fact that several widespread sendmail alternatives exists 1998-04-15 16:37:42 +00:00
Makefile.inc