Date: 16 May 2005 20:26:30 -0000 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.FreeBSD.ORG>, org.fedaykin.here@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81133: [BUG:PATCH] make install does not respect umask(1) Message-ID: <20050516202630.3941.qmail@exxodus.fedaykin.here> Resent-Message-ID: <200505162030.j4GKU5nI026511@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81133 >Category: ports >Synopsis: [BUG:PATCH] make install does not respect umask(1) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 16 20:30:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD exxodus.fedaykin.here 5.4-STABLE FreeBSD 5.4-STABLE #3: Sun May 8 10:28:48 BRT 2005 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386 >Description: Port will install file _sqlite.so with incorrect permissions -rwxrwx--- 0 root wheel 38497 May 16 12:44 lib/python2.4/site-packages/_sqlite.so package-contents -rw-r--r-- 0 root wheel 1508 May 16 17:09 +CONTENTS -rw-r--r-- 0 root wheel 64 May 16 17:09 +COMMENT -rw-r--r-- 0 root wheel 421 May 16 17:09 +DESC -r--r--r-- 0 root wheel 15218 May 16 17:09 +MTREE_DIRS -rw-r--r-- 0 root wheel 2304 Dec 2 15:25 lib/python2.4/site-packages/sqlite/__init__.py -rw-r--r-- 0 root wheel 1838 May 16 12:44 lib/python2.4/site-packages/sqlite/__init__.pyc -rw-r--r-- 0 root wheel 1838 May 16 12:44 lib/python2.4/site-packages/sqlite/__init__.pyo -rw-r--r-- 0 root wheel 17928 Oct 22 2004 lib/python2.4/site-packages/sqlite/main.py -rw-r--r-- 0 root wheel 18016 May 16 12:44 lib/python2.4/site-packages/sqlite/main.pyc -rw-r--r-- 0 root wheel 18016 May 16 12:44 lib/python2.4/site-packages/sqlite/main.pyo -rwxrwx--- 0 root wheel 38497 May 16 12:44 lib/python2.4/site-packages/_sqlite.so -r--r--r-- 0 root wheel 1341 May 16 12:44 share/examples/PySQLite/converters.py -r--r--r-- 0 root wheel 3523 May 16 12:44 share/examples/PySQLite/dbapi_transactions.py -r--r--r-- 0 root wheel 3406 May 16 12:44 share/examples/PySQLite/manual_transactions.py >How-To-Repeat: Build/install the port with a umask(1) of 077 >Fix: Crude fix. --- Makefile.orig Mon May 16 17:20:52 2005 +++ Makefile Mon May 16 17:24:28 2005 @@ -38,5 +38,7 @@ @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} .endif +# fix lib shared permission + @${CHMOD} ${BINMODE} ${PYTHON_SITELIBDIR}/_sqlite.so .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516202630.3941.qmail>