Date: Fri, 28 Jul 1995 20:54:28 -0400 From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: freebsd-bugs@freebsd.org, freebsd-hackers@freebsd.org Subject: Problem with /bin/mv on 2.0.5. Message-ID: <199507290054.UAA17812@ponds.UUCP>
next in thread | raw e-mail | index | archive | help
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 -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507290054.UAA17812>