Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 00:01:29 +0100
From:      cpghost <cpghost@cordula.ws>
To:        ports@FreeBSD.org
Subject:   palm/plucker: plucker-build: Permission denied
Message-ID:  <20071031000129.68f67395@epia-2.farid-hajji.net>

next in thread | raw e-mail | index | archive | help
Hi,

palm/plucker (plucker-1.8_2) installs symlinks like
plucker-build, plucker-decode and plucker-dump into
/usr/local/bin.

Those symlinks link to Python files (.py extensions)
in /usr/local/lib/python2.5/site-packages/PyPlucker/

lrwxr-xr-x  1 root  wheel  58 Oct  2 20:08 plucker-build
    -> /usr/local/lib/python2.5/site-packages/PyPlucker/Spider.py

lrwxr-xr-x  1 root  wheel  63 Oct  2 20:08 plucker-decode
    -> /usr/local/lib/python2.5/site-packages/PyPlucker/PluckerDocs.py

lrwxr-xr-x  1 root  wheel  58 Oct  2 20:08 plucker-dump
    -> /usr/local/lib/python2.5/site-packages/PyPlucker/Decode.py

Calling them from a shell therefore results in a
permission denied error message:

> plucker-build
/usr/local/bin/plucker-build: Permission denied.
> plucker-decode
/usr/local/bin/plucker-decode: Permission denied.
> plucker-dump
/usr/local/bin/plucker-dump: Permission denied.

but calling them with 'python', everything is okay:

> python /usr/local/bin/plucker-build
Error:  No output filename specified, and stdout is a terminal!
Usage: /usr/local/bin/plucker-build [OPTIONS] [HOMEURL]
(Type '/usr/local/bin/plucker-build --help' for more information.)

Aren't files in /usr/local/bin supposed to be directly
executable? A little /bin/sh wrapper would be much better
than a symlink to a Python file.

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071031000129.68f67395>