- From: Mike <
>
- To:
- Subject: [chef] Re: Re: Re: Re: ark resource
- Date: Mon, 20 Aug 2012 15:43:37 -0400
I think this is your line:
https://github.com/opscode-cookbooks/ark/blob/master/libraries/resource_ark.rb#L37
Try setting:
owner ENV['USER']
in your ark resource.
On Mon, Aug 20, 2012 at 3:37 PM, Maven User
<
>
wrote:
>
Getting closer -
>
>
[2012-08-20T15:34:50-04:00] ERROR: ark[maven]
>
(/home/<user>/chef-repo/cookbooks/maven/recipes/default.rb:11:in
>
`from_file') had an error:
>
ark[maven] (maven::default line 11) had an error: Errno::EPERM: Operation
>
not permitted - /home/<user>/buildtools/maven/maven-3.0.4/maven
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1331:in
>
`chown'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1331:in
>
`chown'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1062:in
>
`block (2 levels) in chown_R'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1433:in
>
`preorder_traverse'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1060:in
>
`block in chown_R'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1059:in
>
`each'
>
/home/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:1059:in
>
`chown_R'
>
/home/<user>/chef-repo/cookbooks/ark/libraries/provider_ark.rb:170:in
>
`action_set_owner'
>
/home/<user>/chef-repo/cookbooks/ark/libraries/provider_ark.rb:137:in
>
`action_put'
>
>
Closer - but it seems like :put is trying to change the ownership - not sure
>
why tho. Is there a way to skip that? All I see is a value to set it to,
>
but don't even want that to run...
Archive powered by MHonArc 2.6.16.