Date: Mon, 20 Jan 2003 09:40:06 +1100 From: Mark Hannon <markhannon@optusnet.com.au> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: ports/37136: Gdm package sets wrong permissions Message-ID: <3E2B2946.6070401@optusnet.com.au> In-Reply-To: <200301161200.h0GC0R2N016040@freefall.freebsd.org> References: <200301161200.h0GC0R2N016040@freefall.freebsd.org> <1042740239.324.49.camel@gyros> <3E293028.40002@optusnet.com.au> <1042931850.7820.45.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2B2946.6070401>