Commit Graph

30 Commits

Author SHA1 Message Date
he 494446754f Adapt chflags to the move of string_to_flags() and flags_to_string()
to libutil.
2006-12-14 20:57:00 +00:00
xtraeme 971b39df9c Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
xtraeme 691a36f2ea whitespace, remove main() prototype. 2005-01-20 15:44:59 +00:00
xtraeme 80a3a0790b * Kill __P()
* ANSIfy
* Remove main() prototype
2005-01-12 17:19:23 +00:00
xtraeme b363f90b86 WARNS=3 2005-01-12 16:42:45 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
chopps 32e3bfbd42 add xref to init where security levels are discussed, more should probably
be written in this manpage on this subject.
2002-10-24 18:51:19 +00:00
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
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
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz a3f7faa89a "compact" is no valid .Bd argument, "-compact" is (groff-1.17.2-found). 2001-10-17 22:36:32 +00:00
ad d4f8f51f40 Nit. 2000-10-10 14:27:14 +00:00
enami 96d6ef202a Describe -h option and xref lchflags. 2000-08-04 08:08: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 a6f7a7855f implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
christos 022cc95f70 Document kernel behaviour: flags on block and character devices cannot
be changed except by the superuser. [Commit by cjs.]
1999-07-31 03:24:46 +00:00
bouyer e08bd0cead Xref dump(8). 1999-03-09 17:31:46 +00:00
lukem f0dcae6433 highlight that ls -o lists the flags 1999-01-03 01:36:34 +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
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mikel 1e578d5d67 Note that the 'arch' flag may only be changed by the superuser; from
Paul Boven in PR kern/3491.
1997-04-22 05:54:13 +00:00
jtc 9cffeee5b2 Sync with 4.4lite2 1995-08-31 22:50:22 +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