mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
(cherry picked from commit d56a0757a8)
This commit is contained in:
1 parent
eea1ac18bd
commit
9e18d65ca6
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user