Amit,
This usually indicates a permissions problem on the Portal. Please run the following commands from the root prompt on the API Developer Portal to change the incorrect owner of the file back to the required owner:
# chown -R l7portal:portalusers /opt/Deployments/lrs/repository
# service apiportal restart
Let me know if you have any other questions.
-Alec Daniello
APIM Support