Subject: Re: sticky bit dir semantics and giving away unlink perms
To: VaX#n8 <vax@linkdead.paranoia.com>
From: Jan-Simon Pendry <jsp@sequent.com>
List: tech-kern
Date: 08/08/1996 08:30:31
it would seem reasonable to make the check:

	if (sticky-directory) {
		if (superuser)
			return OK
		if (directory-owner)
			return OK
		if (file-owner)
			return OK
		if (have-write-access-to-file)
			return OK
	}
	return FAIL

the same check should apply to remove, rmdir & rename.

jan-simon.