Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

use uid/gid for chowns. #140

Merged
merged 1 commit into from
Sep 10, 2013
Merged

Conversation

cwoac
Copy link
Contributor

@cwoac cwoac commented Sep 10, 2013

package fails if there isn't a group with the same name as the user. Also, if you've changed your primary group, then it will get it wrong.

This change looks up the primary uid/gids from passwd for the user and uses those as the chown target instead.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) when pulling e5790d3 on cwoac:remove_group_assumption into ce3e061 on fgrehm:master.

fgrehm added a commit that referenced this pull request Sep 10, 2013
@fgrehm fgrehm merged commit 05c4720 into fgrehm:master Sep 10, 2013
@fgrehm
Copy link
Owner

fgrehm commented Sep 10, 2013

@cwoac thanks!

@cwoac cwoac deleted the remove_group_assumption branch September 10, 2013 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants