Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifact_file does not set owner and group #137

Open
khvatov opened this issue Jul 11, 2014 · 1 comment · May be fixed by #154
Open

artifact_file does not set owner and group #137

khvatov opened this issue Jul 11, 2014 · 1 comment · May be fixed by #154

Comments

@khvatov
Copy link

khvatov commented Jul 11, 2014

I have a recipe:

artifact_file '/home/myuser/mysql-connector-java.jar' do
  location 'mysql:mysql-connector-java:jar:5.1.31'
  owner 'myuser'
  group 'usergrp'
  action :create
end

After it completes I would expect the output file 'mysql-connector-java.jar' to be owned by myuser:usergrp, but since chef-client runs under the 'root' the final file is owned by root:root.
Alex

@gmaslov14 gmaslov14 linked a pull request Sep 10, 2014 that will close this issue
@joerg
Copy link

joerg commented Jun 1, 2015

Haven't tried the pull request, but a +1 here to get this fixed soon...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants