The following reply was made to PR ports/152224; it has been noted by GNATS.

From: Anonymous <swel...@gmail.com>
To: John Hein <jh...@symmetricom.com>
Cc: bug-follo...@freebsd.org
Subject: Re: ports/152224: [patch] fix installed permissions for lang/python27
Date: Sun, 14 Nov 2010 07:04:09 +0300

 John Hein <jh...@symmetricom.com> writes:
 
 [...]
 > Fix permissions of extracted tarball for pieces that are copied
 > during post-inastll.
 >
 > Use tar --no-same-owner during post-install to ensure copied files
 > are owned by install user.
 
 I'm not sure `--no-same-owner' is available on 6.x, better use `-o'.
 
 > +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  {} +
_______________________________________________
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"

Reply via email to