Question

Tried installing South sitewide with easy_install. However I'm having permission issues:

drwxr-x---   2 root root   4096 Nov  8 10:23 South-0.7.2-py2.6.egg-info

I then tried installing it with pip but received the same results.

I am assuming I could fix this by just changing the permissions. However, am I doing something wrong during installation? Or is there something wrong with the package?

Answers to comments

iddqd: Please send output. sudo pip install -e hg+http : //bitbucket.org/andrewgodwin/south/

Here is the results:

$ sudo pip-python install -e hg+http://bitbucket.org/andrewgodwin/south/
--editable=hg+http://bitbucket.org/andrewgodwin/south/ is not the right format; it must have #egg=Package
Was it helpful?

Solution

It could be your user and/or root have a specific umask which creates files with those permissions such as 0027.

% umask
027
% sudo touch /tmp/foo
% ls -l /tmp/foo
-rw-r-----  1 root  wheel  0 Nov  8 08:19 /tmp/foo
% umask 002
% touch /tmp/bar
% ls -al /tmp/bar
-rw-r--r--  1 root  wheel  0 Nov  8 08:23 /tmp/bar
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top