Jordan K. Hubbard
6408ef3c4a
Allow -R and -h to be combined as long as no symlink-following flags
...
are also requested.
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1998-03-09 08:54:31 +00:00
Wolfram Schneider
d95fc683ed
Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does
...
first check for a `.' and then for `:' as a delimiter.
Usernames with a dot will fail.
# chown r.r:bin /tmp/bla
chown: r:bin: illegal group name
Fix: first check for a `:' and then for a `.'
1997-09-21 09:13:57 +00:00
Philippe Charnier
cc09f59a1e
Cosmetic in man page. Sync usage() with man page.
1997-09-04 11:55:45 +00:00
Steve Price
573414e0c1
Correct error message when the superuser tries to change
...
the group of immutable files.
PR: bin/3445
Submitted by: Pius Fischer <pius@ienet.com>
1997-08-24 02:10:29 +00:00
Peter Wemm
2e08522b02
Activate the -h flag which tells chown/chgrp to work on the symlink itself
...
using lchown(). Most of the code was already here, the option was
recognised but ignored for SYSV/POSIX.2(?) compatability.
1997-03-31 13:03:49 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Adam David
7ba57172c1
chown(8) and chgrp(1) directories once only
1996-08-14 18:13:58 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
David Greenman
25738fbcc5
groups[] is of type gid_t.
1994-09-23 10:02:21 +00:00
Rodney W. Grimes
dea673e932
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00