From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 11:13:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2F2237B401 for ; Wed, 16 Apr 2003 11:13:46 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-122.pit.adelphia.net [24.53.161.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0337843F93 for ; Wed, 16 Apr 2003 11:13:46 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h3GIDiJP018188; Wed, 16 Apr 2003 14:13:44 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3E9D9D58.8090209@potentialtech.com> Date: Wed, 16 Apr 2003 14:13:44 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin McCormick References: <200304161610.h3GGAKgx091477@dc.cis.okstate.edu> In-Reply-To: <200304161610.h3GGAKgx091477@dc.cis.okstate.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: I Created an Interesting Permission Problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 18:13:47 -0000 Martin McCormick wrote: > Bill Moran writes: >>You should really "reply all" to keep this on the mailing list. > > Good point. > >>Perhaps the default behaviour of one of the programs you used in the >>script has changed. It might help if you provided the script to the >>list. > > I can make it easier than that. Let's say I am in one of the > user directories that can't su to root. To demonstrate the new > behavior, > > $ ls >/tmp/testfile > $ mv /tmp/testfile . > mv: ./testfile: set owner/group (was: 1003/0): Operation not permitted > > That's all you need to make it happen. I'm replying so you don't think I'm ignoring you ;) I've spent some time playing with this and I can't reproduce it on my machines. I also don't have any more guesses (other than the setuid/gid guess I made earlier) I'll try to find more time to try things out today, but if you find the solution, please post it so we all know what happened. -- Bill Moran Potential Technologies http://www.potentialtech.com