From owner-freebsd-python@FreeBSD.ORG  Fri May  4 14:42:49 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 70429106566C
	for <python@FreeBSD.org>; Fri,  4 May 2012 14:42:49 +0000 (UTC)
	(envelope-from demon@FreeBSD.org)
Received: from elephant.yandex.ru (elephant.yandex.ru [77.88.34.7])
	by mx1.freebsd.org (Postfix) with ESMTP id 257F18FC1D
	for <python@FreeBSD.org>; Fri,  4 May 2012 14:42:49 +0000 (UTC)
Received: from dhcp175-40-red.yandex.net (dhcp175-40-red.yandex.net
	[95.108.175.40])
	by elephant.yandex.ru (Postfix) with ESMTP id 3VkbYM3V1Zz45JpY
	for <python@FreeBSD.org>; Fri,  4 May 2012 18:42:47 +0400 (MSK)
Message-ID: <4FA3EACA.5050209@FreeBSD.org>
Date: Fri, 04 May 2012 18:42:18 +0400
From: Dmitry Sivachenko <demon@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:12.0) Gecko/20120502 Thunderbird/12.0.1
MIME-Version: 1.0
To: python@FreeBSD.org
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 8bit
Cc: 
Subject: /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: Fri, 04 May 2012 14:42:49 -0000

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!