Date: Wed, 16 Jan 2002 17:30:02 -0800 (PST) From: Joe Clarke <marcus@marcuscom.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/33968: gdm install doesn't set correct uid and gid Message-ID: <200201170130.g0H1U2M80848@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/33968; it has been noted by GNATS. From: Joe Clarke <marcus@marcuscom.com> To: Michael Harnois <mharnois@cpinternet.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/33968: gdm install doesn't set correct uid and gid Date: Wed, 16 Jan 2002 20:21:12 -0500 (EST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-399731250-1011230472=:47550 Content-Type: TEXT/PLAIN; charset=US-ASCII On 16 Jan 2002, Michael Harnois wrote: > On Wed, 2002-01-16 at 19:01, Joe Clarke wrote: > > > Were the gdm user and group created successfully? How about the perms on > > /usr/X11R6/share/gnome/gdm? > > Everything appears normal > > ===[root] /home/mdharnois # cat /etc/passwd | grep gdm > gdm:*:71:32000:gdm:/dev/null:/nonexistent Ah! I see what's going on. In the past, we enforced gdm to be uid 91, gid 91. This is probably not necessary since we're creating the gdm user and group. The attached patch should fix the problem with the build. If you don't want to reinstall, just do: chown -R gdm:gdm /usr/X11R6/share/gnome/gdm Joe > ===[root] /home/mdharnois # cat /etc/group | grep gdm > gdm:*:32000: > ===[root] /home/mdharnois # ls -l /usr/X11R6/share/gnome | grep gdm > drwxr-x--- 2 gdm gdm 512 Jan 16 17:38 gdm > > > but then I get this, which is pretty curious. Something here is assuming > that it knows what numeric uid and gid is assigned to gdm. > > > ===[root] /home/mdharnois # ls -l /usr/X11R6/share/gnome/gdm > total 210 > prw-rw---- 1 91 91 0 Apr 28 2001 .gdmchooser > prw-rw---- 1 root gdm 0 Jan 16 17:38 .gdmfifo > -rw-r--r-- 1 root gdm 231 Jan 16 17:37 :0.Xauth > -r--r--r-- 1 91 91 8354 Jan 15 22:12 gdmchooser.glade > -r--r--r-- 1 91 91 190568 Jan 15 22:12 gdmconfig.glade > > > -- > Michael D. Harnois bilocational bivocational > Pastor, Redeemer Lutheran Church Washburn, Iowa > 1L, UST School of Law Minneapolis, Minnesota > Democracy is also a form of worship. > It is the worship of Jackals by Jackasses. -- H. L. Mencken > > --0-399731250-1011230472=:47550 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Makefile.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20020116202112.K47550@shumai.marcuscom.com> Content-Description: Content-Disposition: attachment; filename="Makefile.patch" LS0tIE1ha2VmaWxlLm9yaWcJV2VkIEphbiAxNiAyMDoyMDoxNSAyMDAyDQor KysgTWFrZWZpbGUJV2VkIEphbiAxNiAyMDoyMDoyNyAyMDAyDQpAQCAtNDEs NyArNDEsNyBAQA0KIAlAJHtTSH0gJHtQS0dJTlNUQUxMfSAke1BLR05BTUV9 IFBPU1QtSU5TVEFMTA0KIC5lbmRpZg0KIAlAJHtJTlNUQUxMX1NDUklQVH0g JHtXUktTUkN9L2NvbmZpZy9nbm9tZXJjICR7UFJFRklYfS9ldGMvZ2RtDQot CUAke0NIT1dOfSAtUiA5MTo5MSAke1BSRUZJWH0vc2hhcmUvZ25vbWUvZ2Rt ICR7UFJFRklYfS9ldGMvZ2RtDQorCUAke0NIT1dOfSAtUiBnZG06Z2RtICR7 UFJFRklYfS9zaGFyZS9nbm9tZS9nZG0gJHtQUkVGSVh9L2V0Yy9nZG0NCiAJ QCR7Q0hNT0R9IDA3NTAgJHtQUkVGSVh9L3NoYXJlL2dub21lL2dkbQ0KIAlA JHtDQVR9ICR7UEtHTUVTU0FHRX0NCiANCg== --0-399731250-1011230472=:47550-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201170130.g0H1U2M80848>