Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

augmented bash completion, fixed installed file permissions #206

Merged
merged 4 commits into from
Jun 2, 2015

Conversation

rhaschke
Copy link
Contributor

No description provided.

if os.name == 'posix':
for file in self.get_outputs():
# all installed files should be readable for anybody
mode = ((os.stat(file)[ST_MODE]) | 0444) & 07777
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is not valid Python 3 syntax. You have to write octal number in the following style: 0o1234

@wjwwood
Copy link
Member

wjwwood commented Jun 2, 2015

lgtm, but could you expand on what this didn't work for you before?

@rhaschke
Copy link
Contributor Author

rhaschke commented Jun 2, 2015

  • The frequently used config options --whitelist, --blacklist, --install were not yet supported by bash completion.
  • installing with sudo python setup.py left the installed files with read permission for root only on my Ubuntu 14.04

Both issues were fixed.

@wjwwood
Copy link
Member

wjwwood commented Jun 2, 2015

Interesting, ok thanks.

wjwwood added a commit that referenced this pull request Jun 2, 2015
augmented bash completion, fixed installed file permissions
@wjwwood wjwwood merged commit 1c9609a into catkin:master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants