ports/128556: net/py-zsi installs with insufficient rights
Jedrzej Kalinowski
kalinoj1 at iem.pw.edu.pl
Mon Nov 3 13:50:01 UTC 2008
>Number: 128556
>Category: ports
>Synopsis: net/py-zsi installs with insufficient rights
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 03 13:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jedrzej Kalinowski
>Release: CURRENT
>Organization:
Warsaw University of Technology
>Environment:
FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Oct 29 19:36:25 CET 2008 xxx at localhost:/tmp/ amd64
>Description:
After installing py-zsi I cannot use it in mod_python application under apache. That's beacuse 'www' user has no rights to access this file:
ls -al /usr/local/lib/python2.5/site-packages/ZSI-2.0-py2.5.egg
-rw-r----- 1 root wheel 421314 1 lis 21:05 /usr/local/lib/python2.5/site-packages/ZSI-2.0-py2.5.egg
>How-To-Repeat:
/usr/bin/make -C /usr/ports/net/py-zsi install
Than try to 'import ZSI' in a mod_python application.
>Fix:
I seems that port uses 'cp' instead of install to copy files, so it is affected by user's umask.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list