sous-chefs / maven

Development repository for the maven cookbook
https://supermarket.chef.io/cookbooks/maven
Apache License 2.0
36 stars 153 forks source link

Setting an 'owner' fails if a user's group is not the same as username e.g. nobody:nogroup #39

Closed khvatov closed 8 years ago

khvatov commented 10 years ago

because default provider assumes the new owner belongs to the group with the same name e.g. user:user. In my case I have group 'users' and user 'user1'.

around line 66

 owner new_resource.owner
 group new_resource.owner

'owner' is not being set properly

Platform RHEL Chef: 11.12.4

ShibaBandit commented 9 years ago

Also ran into this problem.

tas50 commented 8 years ago

@khvatov @ShibaBandit The 2.0.1 has resolved this by adding a property for group,which defaults to root's group. Give it a try.