Bug #13439

authorized_files is created at the user directory but owner is root

Added by Daniel Lobato Garcia over 2 years ago. Updated over 1 year ago.

Assigned To:Daniel Lobato Garcia
Target version:Foreman - Team Daniel - Iteration 9
Difficulty: Pull request:https://github.com/theforeman/foreman_remote_execution/pull/151, https://github.com/theforeman/foreman/pull/3167
Bugzilla link:
Story points-
Velocity based estimate-


As noticed by ewoud on https://github.com/theforeman/community-templates/pull/233 , during provision the authorized_keys file is created under the 'ssh_user' directory but the user may not be able to read or write it after that, since it was created by root.
Fix is simple, just chown the directory and file as 'ssh_user'.


#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Daniel Lobato Garcia
  • Target version set to Iteration 6
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/141 added

#2 Updated by Ivan Necas over 2 years ago

  • Target version changed from Iteration 6 to Iteration 7

#3 Updated by Ivan Necas over 1 year ago

  • Status changed from Ready For Testing to Closed
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/151, https://github.com/theforeman/foreman/pull/3167 added

Fixed in foreman templates, where the code was moved to

#4 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version changed from Iteration 7 to Team Daniel - Iteration 9

Also available in: Atom PDF