Skip to content

Commit

Permalink
Bugfix change user id to uid
Browse files Browse the repository at this point in the history
  • Loading branch information
Denny Schäfer committed Mar 14, 2013
1 parent 9bfe83a commit 395dfab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

# Creating ".ssh" directory
directory "#{home_dir}/.ssh" do
owner user['id']
owner user['uid']
group user['gid'] || user['id']
mode "0700"
end

# Creating "authorized_keys"
template "#{home_dir}/.ssh/authorized_keys" do
owner user['id']
owner user['uid']
group user['gid'] || user['id']
mode "0600"
variables :ssh_keys => ssh_keys
Expand Down

0 comments on commit 395dfab

Please sign in to comment.