mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
(cherry picked from commit d56a0757a84a0efe3b30c268e101aaae60ee4f19)
This commit is contained in:
parent
eea1ac18bd
commit
9e18d65ca6
@ -133,7 +133,7 @@ Request::ErrorCode RequestManagerChmod::chmod(
|
||||
Nebula::instance().get_configuration_attribute(
|
||||
"ENABLE_OTHER_PERMISSIONS", enable_other);
|
||||
|
||||
if ( !enable_other )
|
||||
if ( !enable_other && !att.is_admin())
|
||||
{
|
||||
att.resp_msg = "'other' permissions is disabled in oned.conf";
|
||||
return AUTHORIZATION;
|
||||
|
Loading…
x
Reference in New Issue
Block a user