Xwiki plugin throwing permission denied error for most plugins on OpenShift

Thank You so much for explaining this.
Well my original question was that if we host Xwiki package on Cloud then there should not be any issue(permissions issue) in installing plugins (Yes i meant extensions like draw.io) , Right?
Since we are getting permission denied then it could be some permission issue and Xwiki has no restriction as such extensions install when it is hosted on Cloud.