Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 04:47:20 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/chmod chmod.c src/usr.sbin/chown chown.c
Message-ID:  <200105311147.f4VBlKA78066@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2001/05/31 04:47:20 PDT

  Modified files:
    bin/chmod            chmod.c 
    usr.sbin/chown       chown.c 
  Log:
  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).
  
  Revision  Changes    Path
  1.22      +2 -2      src/bin/chmod/chmod.c
  1.18      +2 -2      src/usr.sbin/chown/chown.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105311147.f4VBlKA78066>