Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79451
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Adam Funk <a24061@ducksburg.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Permissions on files installed by pip? |
| Date | Wed, 22 Oct 2014 16:51:06 +0100 |
| Organization | $CABAL |
| Lines | 39 |
| Message-ID | <ac0lhbxk7r.ln2@news.ducksburg.com> (permalink) |
| References | <mailman.14945.1413551638.18130.python-list@python.org> |
| X-Trace | individual.net pvfS2PsSJy5gU0FGOjGuJQYH0GqkOG9DSU8NKDNMOyYCXpuWML |
| X-Orig-Path | news.ducksburg.com!not-for-mail |
| Cancel-Lock | sha1:AeOEttwIm9jP0dIh4oLhp+7DX28= sha1:UOCQ1CuDKbLKJluK+QjbLJES1gU= |
| User-Agent | slrn/1.0.2 (Linux) |
| Xref | csiph.com comp.lang.python:79451 |
Show key headers only | View raw
On 2014-10-17, Jean-Michel Pichavant wrote: > ----- Original Message ----- >> From: "Adam Funk" <a24061@ducksburg.com> >> To: python-list@python.org >> Sent: Thursday, 16 October, 2014 9:29:46 PM >> Subject: Permissions on files installed by pip? >> >> I've been using the python-nltk package on Ubuntu, but I need ntlk >> 3.0 >> now. I used 'sudo aptitude purge python-nltk' to get rid of my >> existing installation, & followed instructions on the nltk website >> [1] >> starting at step 4 (since I already have python-pip & python-numpy >> packages installed). >> >> $ sudo pip install -U >> >> I couldn't get it to work, until I realized that the permissions & >> ownership on /usr/local/lib/python2.7/dist-packages were 'drwx--S--- >> root staff'. A 'chmod -R a+rX' on that directory seems to have fixed >> it. Is it normal for sudo pip install to set the permissions that >> way, or did I do something wrong? > > On debian wheezy: > > ls -al /usr/local/lib/python2.7/dist-packages > > drwxrwsr-x 5 root staff 4.0K Jun 30 15:16 ./ > > I'm not sure pip is responsible for this anyway, so my money goes on "you did something wrong" :) Probably something to do with the way I have sudo set up then. Thanks. -- Everybody says sex is obscene. The only true obscenity is war. --- Henry Miller
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Permissions on files installed by pip? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-10-17 15:13 +0200 Re: Permissions on files installed by pip? Adam Funk <a24061@ducksburg.com> - 2014-10-22 16:51 +0100
csiph-web