I Created an Interesting Permission Problem.

Bill Moran wmoran at potentialtech.com
Wed Apr 16 11:13:47 PDT 2003


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



More information about the freebsd-questions mailing list