Commit Graph

9 Commits

Author SHA1 Message Date
bjh21 525b050279 Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7),
IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks
on the command line and changing their targets' modes/ownership/flags, rather
than ignoring them.

This fixes PR standards/563 (at last).
2002-07-07 11:44:02 +00:00
enami 75015c55d3 - Introduce new flag -h to operate on symlink.
- Don't print (first) pathname on fts_open failure; it doesn't make sense.
2000-08-04 08:06:57 +00:00
enami 43bbf1ae3c - Kill the auto variable Pflag like other ch* commands.
- Pass NULL instead of 0 where a pointer is expected.
- Use consistient error message format.
- Use tab for basic indentation.
2000-07-08 03:14:50 +00:00
mrg 14a817a516 create a "stat_flags.h" to go with stat_flags.c 1998-10-10 07:38:22 +00:00
lukem 5f18af1fa6 WARNSify, fix .Nm usage 1997-10-18 12:39:50 +00:00
glass e0703aba8b rcsid consistency 1995-03-26 08:49:20 +00:00
mycroft def22ebf96 Document the `arch' flag. Fix the test of the getopt(3) return value. 1995-01-04 05:40:08 +00:00
jtc 6e0c4ded79 Changed to conform to NetBSD's new RCS Id convention. 1994-11-14 20:27:21 +00:00
jtc 9636069c3e imported from 4.4lite 1994-11-14 20:11:58 +00:00