Date: Tue, 20 Jun 1995 12:27:52 -0400 From: Robert Withrow <witr@rwwa.com> To: hackers@freebsd.org Subject: Strance mv error message Message-ID: <199506201627.MAA01291@spooky.rwwa.com>
next in thread | raw e-mail | index | archive | help
The following error message seems wrong: bash$ umask 027 bash$ cat /dev/null >/tmp/foo bash$ ls -l /tmp/foo -rw-r----- 1 witr bin 0 Jun 20 12:13 /tmp/foo bash$ mv /tmp/foo ~/foo mv: /home/witr/foo: set owner/group: Operation not permitted bash$ ls -l foo -rw-r----- 1 witr witr 0 Jun 20 12:16 foo mv(1) says that a move across filesystems is like a cp -pr, and cp(1) says: -p Causes cp to preserve in the copy as many of the modification time, access time, file flags, file mode, user ID, and group ID as al- lowed by permissions. If the user ID and group ID cannot be preserved, no error message is displayed and the exit value is not altered. So, why the error message? ----------------------------------------------------------------------------- Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430 Net: witr@rwwa.COM R.W. Withrow Associates, 319 Lynnway Suite 201, Lynn MA 01901 USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506201627.MAA01291>