Date: Sat, 26 Apr 1997 01:01:54 +1000 From: Bruce Evans <bde@zeta.org.au> To: bugs@freebsd.org, jc@netview.net Subject: Re: owner sticky and mv Message-ID: <199704251501.BAA01527@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I think I have found a bug while moving (mv) files from one filesystem to >another. Files that are owner sticky (in this case root) do not transfer >their permissions properly. This may be a feature. The kernel rejects attempts by non-root to set the sticky bit for non-directories. mv(1) has no idea that the problem is caused by the sticky bit, so it doesn't try another chmod() to set the other bits. The sticky bit has no direct effect for non-directories, so perhaps is was being used by root to inhibit moving files :-). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704251501.BAA01527>