Re: Typo in setgid(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jasion,

On Fri, Oct 16, 2009 at 6:57 AM, Jason Noakes <jjnoakes@xxxxxxxxx> wrote:
> This is what I see on my system (I have manpages-dev-3.15-1 installed on
> Ubuntu):
>
>        EPERM  The calling process is not privileged (does not have the
> CAP_SETGID capability), and gid  does  not  match  the  effective
>               group ID or saved set-group-ID of the calling process.
>
> I believe "does not match the effective group ID" should read "does not
> match the real group ID", according to POSIX.

You just found a bug that's been present in the man page for 15 years
(since man-pages-1.4), and a bug that has security implications even.
Nice!

Fixed for man-pages-3.24.

Thanks!

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux