Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 22:22:28 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Peter Much <pmc@citylink.dinoex.sub.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports setting UIDs/GIDs broadscape: "chmod -R" likely breaks things!
Message-ID:  <47990194.3050101@FreeBSD.org>
In-Reply-To: <20080123123208.GA71035@gate.oper.dinoex.org>
References:  <20080123123208.GA71035@gate.oper.dinoex.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Much wrote:
> Dear all,
> 
>   a couple of Ports have in the install part of their Makefiles 
> constructs like this:
> 
> 	@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
> 
> I perceive this as very problematic. For instance: Below ~pgsql 
> there at least two mounted filesystems, both with a .snap directory, 
> which must be GID-operator. 
> Furthermore, ~pgsql is a fine place fore lots of data-import- and 
> -export-directories, each belonging to user or group of the corresponding
> foreign subsystem. 
> 
> Now any time I reinstall or upgrade the port, all of this gets 
> destroyed, and has to be manually recreated.
> 
> Is there any way to configure such unwanted modifications to not
> happen? Maybe some central switch or Makefile.local or anything
> I might have overlooked, which can be added and will persist the
> updating of the ports tree (simply editing these Makefiles is not
> feasible as they will be updated from CVS).
> 
> If not, then I would strongly suggest that Ports maintainers
> modify only and maximally those files+directories which get removed
> and recreated during port upgrades.

Yes, that seems overly broad.  Please bring it up with the respective 
maintainers.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47990194.3050101>