Skip to content

Make sure the umask is 022. - #42

Closed
tsuna wants to merge 1 commit into
openstack:masterfrom
tsuna:master
Closed

Make sure the umask is 022.#42
tsuna wants to merge 1 commit into
openstack:masterfrom
tsuna:master

Conversation

@tsuna

@tsuna tsuna commented Dec 27, 2013

Copy link
Copy Markdown

Without this various things get installed as root and are unusable once
running as a normal user. This is unfortunately the case of all Python
packages, as they don't use `install' or a package format that preserves
file permissions. This also affects various other random files created
during initial setup, such as /etc/polkit-1/rules.d/50-libvirt-$USER.rules
and others.

Without this various things get installed as root and are unusable once
running as a normal user.  This is unfortunately the case of all Python
packages, as they don't use `install' or a package format that preserves
file permissions.  This also affects various other random files created
during initial setup, such as /etc/polkit-1/rules.d/50-libvirt-$USER.rules
and others.
@tsuna

tsuna commented Dec 27, 2013

Copy link
Copy Markdown
Author

This may help others. I'm running on FC18 and I was getting weird errors such as

error: authentication failed: polkit: Authorization requires authentication but no agent is available.

error: failed to connect to the hypervisor

and this was after wrestling with a slew of other failures related to files being unreadable from my user, because they were installed with my default umask of 066.

@openstack-gerrit

Copy link
Copy Markdown

Thank you for contributing to openstack-dev/devstack!

openstack-dev/devstack uses Gerrit for code review.

Please visit http://wiki.openstack.org/GerritWorkflow and follow the
instructions there to upload your change to Gerrit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants