From owner-freebsd-python@FreeBSD.ORG  Mon May 21 17:03:02 2012
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 28B9D1065678
	for <python@FreeBSD.org>; Mon, 21 May 2012 17:03:02 +0000 (UTC)
	(envelope-from demon@FreeBSD.org)
Received: from archeopterix.yandex.ru (archeopterix.yandex.ru [93.158.136.52])
	by mx1.freebsd.org (Postfix) with ESMTP id CEB788FC08
	for <python@FreeBSD.org>; Mon, 21 May 2012 17:03:01 +0000 (UTC)
Received: from Dmitrys-MacBook-Pro.local (v10-166-203.yandex.net
	[84.201.166.203])
	by archeopterix.yandex.ru (Postfix) with ESMTP id 3Vx5kY5bzlzrMxL;
	Mon, 21 May 2012 20:57:09 +0400 (MSK)
Message-ID: <4FBA73E6.1030803@FreeBSD.org>
Date: Mon, 21 May 2012 20:57:10 +0400
From: Dmitry Sivachenko <demon@FreeBSD.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7;
	rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: John Hein <jhein@symmetricom.com>
References: <4FA3EACA.5050209@FreeBSD.org> <4FA3EBD5.8010704@FreeBSD.org>
	<20410.28549.240670.261196@gromit.timing.com>
In-Reply-To: <20410.28549.240670.261196@gromit.timing.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: python@FreeBSD.org
Subject: Re: /usr/local/share/python2.7/Tools permissions
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 May 2012 17:03:02 -0000

On 5/21/12 8:38 PM, John Hein wrote:
> Dmitry Sivachenko wrote at 18:46 +0400 on May  4, 2012:
>   >  PS: the same permission problem with /usr/local/share/examples/python2.7/
>   >  content.
>   >
>   >  On 04.05.2012 18:42, Dmitry Sivachenko wrote:
>   >  >  Hello!
>   >  >
>   >  >  /usr/local/share/python2.7/Tools directory and all its content has no 'other'
>   >  >  permissions:
>   >  >
>   >  >  # cd /usr/local/share/python2.7/Tools/
>   >  >  # ls -la
>   >  >  total 46/
>   >  >  drwxr-x--- 22 root wheel 512 10 апр 03:07 .
>   >  >  drwxr-xr-x 3 root wheel 512 3 май 08:42 ..
>   >  >  -rw-r--r-- 1 root wheel 1756 10 апр 03:07 README
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 audiopy
>   >  >  drwxr-x--- 3 root wheel 512 10 апр 03:07 bgen
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 buildbot
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 ccbench
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 compiler
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 faqwiz
>   >  >  drwxr-x--- 3 root wheel 512 10 апр 03:07 framer
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 freeze
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 gdb
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 i18n
>   >  >  drwxr-x--- 2 root wheel 512 10 апр 03:07 iobench
>   >  >  <...>
>   >  >
>   >  >  I have umask=022.
>   >  >
>   >  >  With python32 port I have no such a problem:
>   >  >
>   >  >  # pwd
>   >  >  /usr/local/share/python3.2/Tools
>   >  >  # ls -la
>   >  >  total 36
>   >  >  drwxr-xr-x 17 root wheel 512 9 июл 2011 .
>   >  >  drwxr-xr-x 3 root wheel 512 27 авг 2011 ..
>   >  >  -rw-r--r-- 1 root wheel 1639 9 июл 2011 README
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 buildbot
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 ccbench
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 demo
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 freeze
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 gdb
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 i18n
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 iobench
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 msi
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 parser
>   >  >  drwxr-xr-x 3 root wheel 512 9 июл 2011 pybench
>   >  >  drwxr-xr-x 3 root wheel 512 9 июл 2011 pynche
>   >  >  drwxr-xr-x 2 root wheel 1536 9 июл 2011 scripts
>   >  >  drwxr-xr-x 4 root wheel 512 9 июл 2011 test2to3
>   >  >  drwxr-xr-x 3 root wheel 512 9 июл 2011 unicode
>   >  >  drwxr-xr-x 2 root wheel 512 9 июл 2011 unittestgui
>   >  >
>   >  >
>   >  >  Is there any reason for such permissions?
>   >  >
>   >  >  Thanks!
>
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=152224

1.5 years passed since this patch was submitted.

I will commit it shortly if none from python@ object (and do something 
about it).