[Pkg-shadow-devel] UID == (uid_t)-1

Mike Frysinger vapier at gentoo.org
Tue Feb 24 15:49:05 UTC 2009

On Tuesday 24 February 2009 10:29:28 Peter Vrabec wrote:
> what do you think about this patch? I'm afraid uid = -1 should not be
> allowed. It's a problem for chown at least.

to be clear, we're talking about the behavior the POSIX set of chown() 
functions require, not so much the chown binary ... although the former 
implies the same behavior in the latter ...

having shadow reject attempts to utilize uid of -1 sounds sane to me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20090224/f8b426d8/attachment.pgp 

More information about the Pkg-shadow-devel mailing list