Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 14:13:44 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I Created an Interesting Permission Problem.
Message-ID:  <3E9D9D58.8090209@potentialtech.com>
In-Reply-To: <200304161610.h3GGAKgx091477@dc.cis.okstate.edu>
References:  <200304161610.h3GGAKgx091477@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9D9D58.8090209>