#46 --install fails on Mac without root permission

Documentation
open-invalid
nobody
s3cmd (119)
5
2010-02-09
2010-02-08
Anonymous
No

It looks like "./s3cmd --configure" is fine without installation, so how about mentioning that in the README? Or suggesting whatever the equivalent to --prefix=~/bin is?

pepper@prowler:~/port/s3cmd-0.9.9.91$ ls
INSTALL PKG-INFO S3 s3cmd.1 setup.py
NEWS README s3cmd setup.cfg
pepper@prowler:~/port/s3cmd-0.9.9.91$ python setup.py install
Using xml.etree.ElementTree for XML processing
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/S3
copying S3/__init__.py -> build/lib/S3
copying S3/ACL.py -> build/lib/S3
copying S3/BidirMap.py -> build/lib/S3
copying S3/CloudFront.py -> build/lib/S3
copying S3/Config.py -> build/lib/S3
copying S3/Exceptions.py -> build/lib/S3
copying S3/PkgInfo.py -> build/lib/S3
copying S3/Progress.py -> build/lib/S3
copying S3/S3.py -> build/lib/S3
copying S3/S3Uri.py -> build/lib/S3
copying S3/SimpleDB.py -> build/lib/S3
copying S3/SortedDict.py -> build/lib/S3
copying S3/Utils.py -> build/lib/S3
running build_scripts
creating build/scripts-2.6
copying and adjusting s3cmd -> build/scripts-2.6
changing mode of build/scripts-2.6/s3cmd from 644 to 755
running install_lib
creating /Library/Python/2.6/site-packages/S3
copying build/lib/S3/__init__.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/ACL.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/BidirMap.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/CloudFront.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/Config.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/Exceptions.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/PkgInfo.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/Progress.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/S3.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/S3Uri.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/SimpleDB.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/SortedDict.py -> /Library/Python/2.6/site-packages/S3
copying build/lib/S3/Utils.py -> /Library/Python/2.6/site-packages/S3
byte-compiling /Library/Python/2.6/site-packages/S3/__init__.py to __init__.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/ACL.py to ACL.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/BidirMap.py to BidirMap.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/CloudFront.py to CloudFront.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/Config.py to Config.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/Exceptions.py to Exceptions.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/PkgInfo.py to PkgInfo.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/Progress.py to Progress.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/S3.py to S3.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/S3Uri.py to S3Uri.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/SimpleDB.py to SimpleDB.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/SortedDict.py to SortedDict.pyc
byte-compiling /Library/Python/2.6/site-packages/S3/Utils.py to Utils.pyc
running install_scripts
copying build/scripts-2.6/s3cmd -> /usr/local/bin
error: /usr/local/bin/s3cmd: Permission denied
pepper@prowler:~/port/s3cmd-0.9.9.91$

Discussion

  • Michal Ludvig

    Michal Ludvig - 2010-02-09
    • status: open --> open-invalid
     
  • Michal Ludvig

    Michal Ludvig - 2010-02-09

    Hi,

    to be honest I don't find it surprising that installation to /usr/local/bin requires root privileges. And wouldn't call it a bug either.

    Anyway, run "python setup.py --help install" to find out about all the possible options for installation, including --prefix

     
  • Nobody/Anonymous

    7TUdCC <a href="http://cmlwhosqrvug.com/">cmlwhosqrvug</a>, [url=http://cntuvmipoglu.com/]cntuvmipoglu[/url], [link=http://nphruzggpiab.com/]nphruzggpiab[/link], http://ajyditbuxvxv.com/

     

Log in to post a comment.