From 75ec599a4f785a53a7b63d66c49a60e975ed9486 Mon Sep 17 00:00:00 2001 From: juanmont Date: Wed, 12 Sep 2018 11:51:57 +0200 Subject: [PATCH] F #2260: Fixed problem with generic function chown (#2413) --- src/rm/RequestManagerChown.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rm/RequestManagerChown.cc b/src/rm/RequestManagerChown.cc index e4c4c9e7d0..491dbafc0d 100644 --- a/src/rm/RequestManagerChown.cc +++ b/src/rm/RequestManagerChown.cc @@ -402,6 +402,12 @@ void RequestManagerChown::request_execute(xmlrpc_c::paramList const& paramList, object->unlock(); + if ( auth_object != PoolObjectSQL::VROUTER ) + { + success_response(oid, att); + return; + } + // --------------- Recursive change associated VM objects ------------------ // IMPORTANT!: pool/auth_object members are redirected to the VM pool to // chown VMs