Jira (BOLT-545) upload/script/task don't work with --run-as on AIX (and possibly others)
Title: Message Title Tommy McNeely commented on BOLT-545 Re: upload/script/task don't work with --run-as on AIX (and possibly others) Alternatively, you can just remove the ":" because the group ownership of the file matching the run-as user is not likely to really matter. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-545) upload/script/task don't work with --run-as on AIX (and possibly others)
Title: Message Title Michael Smith commented on BOLT-545 Re: upload/script/task don't work with --run-as on AIX (and possibly others) Apparently some platforms don't support id -g. On Solaris 10 at least, you need to use /usr/xpg4/bin/id -g. I'm ok not supporting Solaris 10 right now. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-545) upload/script/task don't work with --run-as on AIX (and possibly others)
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-545 upload/script/task don't work with --run-as on AIX (and possibly others) Change By: Michael Smith Sprint: Bolt Kanban Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-545) upload/script/task don't work with --run-as on AIX (and possibly others)
Title: Message Title Michael Smith commented on BOLT-545 Re: upload/script/task don't work with --run-as on AIX (and possibly others) We should update the chown commands to use an explicit user:group for portability. Group can be queried via id -g user. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-545) upload/script/task don't work with --run-as on AIX (and possibly others)
Title: Message Title Nick Lewis created an issue Puppet Task Runner / BOLT-545 upload/script/task don't work with --run-as on AIX (and possibly others) Issue Type: Bug Assignee: Unassigned Created: 2018/05/25 11:16 AM Priority: Normal Reporter: Nick Lewis When we need to change the owner of a file over SSH (which we do when using run-as while uploading files, running scripts or running tasks), we do so with chown username: file. The trailing colon means "set the group of the file to the primary group of the user". However, that syntax isn't universally supported (AIX in particular). That causes the run to fail. We need to come up with some alternative solution for setting group on those platforms. Add Comment