Issue #16475 has been reported by Thorben Went.

----------------------------------------
Bug #16475: Doesn't change gid of homedir on managehome true
https://projects.puppetlabs.com/issues/16475

Author: Thorben Went
Status: Unreviewed
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 2.7.19
Keywords: group gid home homedir change
Branch: 


Hi,

I've come across the problem that on my agent (CentOS 6.3) the gid of the users 
homedir isn't changed by puppet. managehome is set inside the user resource.

To reproduce:<br>
1. Create a User with user-resource (set managehome => true)<br>
2. Create a new group <br>
3. Add gid to user-resource with gid of step 2<br>
4. Change gid (and uid) to your gid of step 2<br>

Before changeig gid:
<pre>
[root@puppetcli ~]# cat /etc/passwd | grep blabla
blabla:x:5555:5555:Managed by Puppet:/home/blabla:/bin/bash
[root@puppetcli ~]# stat /home/blabla/ | grep 5555
Access: (0700/drwx------)  Uid: ( 5555/  blabla)   Gid: ( 5555/  blabla)</pre>

After changing gid:
<pre>[root@puppetcli ~]# cat /etc/passwd | grep blabla
blabla:x:5556:5556:Managed by Puppet:/home/blabla:/bin/bash
[root@puppetcli ~]# stat /home/blabla/ | grep 5555
Access: (0700/drwx------)  Uid: ( 5556/  blabla)   Gid: ( 5555/  blabla)</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to