Bug #2096

scp'ing hooks to physical nodes looses eXecute bit filepermission

Added by Steffen Neumann about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:05/30/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 4.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

Hi, we have some hook scripts which are supposed to be run on the nodes
upon VM failure. On the head node they have the r-x permission, but after syncing
to the hosts in

http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/src/mad/ruby/CommandManager.rb#L209

the -x bit gets lots. scp -rp should fix the problem.

Yours,
Steffen

Associated revisions

Revision e9f720a6
Added by Ruben S. Montero about 8 years ago

bug #2096: Preserve remotes permissions. Adds -p flag to scp as suggested by Steffen Neumann

Revision 78f805d1
Added by Ruben S. Montero about 8 years ago

bug #2096: Preserve remotes permissions. Adds -p flag to scp as suggested by Steffen Neumann

(cherry picked from commit e9f720a6bb1d3e4abbae6389c529e36e6247628e)

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Category set to Core & System
  • Status changed from Pending to Closed
  • Target version set to Release 4.2

OK. Applied as suggested.

THANKS!

#2 Updated by Ruben S. Montero about 8 years ago

  • Resolution set to fixed

Also available in: Atom PDF