freebsd-skq/bin/chmod
ru 8a1fd26292 Fixed the bug from the previous revision.
``chown -h owner symlink'' did not set the symlink's owner
if the file the symlink points to already had that owner:

# ls -l alink afile
-rw-r--r--  1 nobody  ru  0 May 31 14:14 afile
lrwxr-xr-x  1 root    ru  5 May 31 14:14 alink -> afile
# ./chown -h -v nobody alink
# ls -l alink afile
-rw-r--r--  1 nobody  ru  0 May 31 14:14 afile
lrwxr-xr-x  1 root    ru  5 May 31 14:14 alink -> afile

Similarly for chgrp(1) and chmod(1).
2001-05-31 11:47:20 +00:00
..
chmod.1 Change noop option -h to do the real work. Now mode of symbolic link 2001-05-28 15:31:11 +00:00
chmod.c Fixed the bug from the previous revision. 2001-05-31 11:47:20 +00:00
Makefile Make this compile with WARNS=2 2001-05-20 03:24:24 +00:00