The following reply was made to PR ports/152224; it has been noted by GNATS.
From: Oliver Fromme <o...@lurza.secnetix.de> To: Anonymous <swel...@gmail.com>, jh...@symmetricom.com, bug-follo...@freebsd.org Cc: Subject: Re: ports/152224: [patch] fix installed permissions for ?lang/python27 Date: Mon, 15 Nov 2010 18:35:40 +0100 (CET) Anonymous <swel...@gmail.com> wrote: > John Hein <jh...@symmetricom.com> writes: > > +post-extract: > > +# The distribution tarball for python 2.7 has permission bits for 'others' > > +# set to 0. Later during install, we copy Tools and Demo to the installed > > +# prefix, so set them right here. > > + ${FIND} ${WRKSRC}/Tools ${WRKSRC}/Demo -type d | ${XARGS} ${CHMOD} a+rx > > + ${FIND} ${WRKSRC}/Tools ${WRKSRC}/Demo -type f | ${XARGS} ${CHMOD} a+r > > + > > This can be reduced to one command > > ${FIND} ${WRKSRC}/Tools ${WRKSRC}/Demo \ > -type d -exec ${CHMOD} a+rx {} + \ > -or -type f -exec ${CHMOD} a+r {} + It's unclear to me why you have to use find(1) at all. The following simple command should work equally well: ${CHMOD} -R og=u-w ${WRKSRC}/Tools ${WRKSRC}/Demo Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing." -- Mother Teresa _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"