From owner-freebsd-gnome Sun Jan 19 14:40:22 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1AB237B401 for ; Sun, 19 Jan 2003 14:40:20 -0800 (PST) Received: from mail020.syd.optusnet.com.au (mail020.syd.optusnet.com.au [210.49.20.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DCE43F18 for ; Sun, 19 Jan 2003 14:40:19 -0800 (PST) (envelope-from markhannon@optusnet.com.au) Received: from doorway.homeip.net (c17007.sunsh3.vic.optusnet.com.au [211.28.121.120]) by mail020.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id h0JMeCH08018; Mon, 20 Jan 2003 09:40:13 +1100 Received: from optusnet.com.au (tbird.home.lan [192.168.1.5]) by doorway.homeip.net (8.12.6/8.12.6) with ESMTP id h0JMe6QY024585; Mon, 20 Jan 2003 09:40:07 +1100 (EST) (envelope-from markhannon@optusnet.com.au) Message-ID: <3E2B2946.6070401@optusnet.com.au> Date: Mon, 20 Jan 2003 09:40:06 +1100 From: Mark Hannon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20030104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Marcus Clarke Cc: FreeBSD GNOME Users Subject: Re: ports/37136: Gdm package sets wrong permissions References: <200301161200.h0GC0R2N016040@freefall.freebsd.org> <1042740239.324.49.camel@gyros> <3E293028.40002@optusnet.com.au> <1042931850.7820.45.camel@shumai.marcuscom.com> In-Reply-To: <200301161200.h0GC0R2N016040@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > >I think I see the problem. It looks to be a limitation in the package >building system regarding directories. All the files retain the correct >version, but the directories do not. Attached is a patch that should >fix the problem. If you would like to test, please do the following: > ># pkg_delete -f gdm2\* ># cd /usr/ports/x11 ># patch -p < /path/to/gdm2.diff ># cd /usr/ports/x11/gdm2 ># make package ># make deinstall ># rm -rf /usr/X11R6/share/gnome/gdm ># pkg_add gdm2-2.4.0.12 > >The resulting /usr/X11R6/share/gnome/gdm should have the correct >permissions. > Hi, I made a fresh 5.0-RELEASE install today and have made some more notes about the problem. a) After install of all of the gnome packages on the CD I noticed that the gdm uid/gid had not been created and added to /etc/{passwd,group}. b) The gdm2 package from the CD had been installed. c) In order to get gdm running I needed to chown and chmod the relevant directories. Subsequently, I patched up a gdm2 port directory and followed your testing instructions. Your patch isn't quite right however, the ${PKG_PREFIX} variable is not defined when the chmod/chown commands are executed (I could see on the console that make tried to chown /etc/gdm for instance). rgds/mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message