change group is not permitter error

asked 2015-03-31 01:06:45 -0600

updated 2015-03-31 18:50:26 -0600

GregLarkin gravatar image
2015-03-30 12:50:30 -0700 Puppet (err): Failed to set group to '21965': Operation not permitted - /home/apps/SOXAPPS
2015-03-30 12:50:30 -0700 /Stage[main]/sockstest::Deploy/socktest::Defines::Deploy[SOXAPPS]/File[/home/apps/SOXAPPS]/group (err): change from socksuser to socklogs failed: Failed to set group to '21965': Operation not permitted - /home/apps/SOXAPPS

Below setting working fine on Oracle linux version 5.4 but not working on oracle lunux - 6.4 .

puppet agent -t on agent working fine but not working while sending catalog to puppet agent through mcollective from puppet master .

We are running puppet master 3.1 through passanger .

file { '/home/apps/SOXAPPS' :
        ensure      =>  'directory',
        mode        =>  '0750',
        group       =>   'socklogs',

cat /etc/group contains the group .

chgrp socklogs /home/apps/SOXAPPS is working fine .

edit retag flag offensive close merge delete


Can you post a link to a pastebin of the output when run with the --debug option? It would help to see the exact command Puppet is executing that generates the error.

GregLarkin gravatar imageGregLarkin ( 2015-03-31 18:51:47 -0600 )edit

Who runs puppet? Is it a mount? Any other (weird) filesystem? stat, getfacl and lsattr along the file path? And of course, as Greg mentioned, what does puppet agent -td tell?

Kai Burghardt gravatar imageKai Burghardt ( 2015-04-03 17:20:34 -0600 )edit