Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 1995 00:31:11 -0700
From:      David Greenman <davidg>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/ufs/ufs ufs_vnops.c
Message-ID:  <199505150731.AAA20597@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
davidg      95/05/15 00:31:10

  Modified:    sys/ufs/ufs  ufs_vnops.c
  Log:
  From Bruce Evans:
  I ran into another manifestation of the problem reported in PR 211 and
  fixed it. Try this:
  
  as non-root:
  	cd /tmp; mkdir x y x/z
  as root:
  	chown root /tmp/x/z
  as non-root:
  	cd /tmp/x; mv z ../y		# EACCES as expected
  as root:
  	cd /tmp/x; mv z ../y		# EINVAL NOT as expected
  
  This is because ufs_rename() sets IN_RENAME and fails to clear it.
  
  Reviewed by:	davidg
  Submitted by:	bde



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