Skip to content

Commit

Permalink
Comment on the cause for 'group executable' == no
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Dec 20, 2014
1 parent 194e8c2 commit 4242c46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/test_which.py
Expand Up @@ -188,6 +188,10 @@ def test_which_should_match_other_group_user(self):
shutil.copy(bin_echo, bin_path)
isroot = os.getuid() == 0
for should_match, mode in (
# note that although the file may have matching 'group' or
# 'other' executable permissions, it is *not* executable
# because the current uid is the owner of the file -- which
# takes precedence
(False, 0o000), # ----------, no
(isroot, 0o001), # ---------x, no
(isroot, 0o010), # ------x---, no
Expand Down
2 changes: 1 addition & 1 deletion tools/teamcity-runtests.sh
Expand Up @@ -29,7 +29,7 @@ workon ${venv} || mkvirtualenv -p `which python${pyversion}` ${venv} || true

# install ptyprocess
cd $here/../../ptyprocess
pip uninstall ptyprocess || true
pip uninstall --yes ptyprocess || true
python setup.py install

# install all test requirements
Expand Down

0 comments on commit 4242c46

Please sign in to comment.