freebsd-skq/sys/ufs
David Greenman 9b5bb13bf8 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
1995-05-15 07:31:09 +00:00
..
ffs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
lfs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
mfs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
ufs From Bruce Evans: 1995-05-15 07:31:09 +00:00