From owner-freebsd-bugs Fri Jul 28 18:06:00 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id SAA17285 for bugs-outgoing; Fri, 28 Jul 1995 18:06:00 -0700 Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id SAA17279 for ; Fri, 28 Jul 1995 18:05:58 -0700 Received: by dg-rtp.dg.com (5.4R2.01/dg-rtp-v02) id AA09471; Fri, 28 Jul 1995 21:05:24 -0400 Received: (rivers@localhost) by ponds.UUCP (8.6.11/8.6.5) id UAA17812; Fri, 28 Jul 1995 20:54:28 -0400 Date: Fri, 28 Jul 1995 20:54:28 -0400 From: Thomas David Rivers Message-Id: <199507290054.UAA17812@ponds.UUCP> To: freebsd-bugs@freebsd.org, freebsd-hackers@freebsd.org Subject: Problem with /bin/mv on 2.0.5. Sender: bugs-owner@freebsd.org Precedence: bulk This is a problem on 2.0.5R... If you have the following directory: /usr/user/DIR and the mode of DIR is as in: drwx------ 2 user general 512 Jul 28 20:34 DIR/ and you execute the following (as the user 'user'): cd /tmp touch t mv t /usr/user/DIR you will get a message from mv: mv: /usr/user/DIR/t: set owner/group: Operation not permitted the message was not produced at 2.0. I have determined that /bin/mv hasn't changed, and that this message is produced by /bin/mv when the fchown() call for the destination failed, with errno set to EPERM. So, what's changed in fchown() that would cause this - the message is quite aggravating. - Dave Rivers -