The permissions of /tmp should be 1777 so that all users can create files
but the sticky bit is set.  Setting the sticky bit ensures that files and
directories under /tmp can only be renamed or deleted by the user that owns
them.

  - Keith


On 3 April 2013 00:41, Kubes <pkubat.ml...@freepricealerts.com> wrote:

> Thanks Josh
>
> chmoding 777 /tmp fixed the issue.
>
> mktemp worked fine as root, not as a user, until chmod.  Does puppet sudo
> for sshkeys, etc?  puppet is running as root.
>
>
>
>
>
>
>
> On Tuesday, April 2, 2013 12:06:52 PM UTC-4, Joshua Hoblitt wrote:
>>
>> Hello,
>>
>> On 04/02/2013 07:44 AM, Kubes wrote:
>> > cannot generate tempfile `/puppet20130331-3128-n19xxm-**9'
>>
>> I suspect this is the crux of your issue.  Is there a /tmp on that
>> system and is it world writable?  Have you declared $TMPDIR? What does
>> the puppet.conf look like on that system?  Does `mktemp` work as
>> expected?  Eg.
>>
>> $ mktemp
>> /tmp/tmp.7rj9E3NgP1
>> $ ls -la /tmp/tmp.7rj9E3NgP1
>> -rw------- 1 jhoblitt users 0 Apr  2 09:04 /tmp/tmp.7rj9E3NgP1
>>
>> -Josh
>>
>> --
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to