Odoo Help


OSError: [Errno 13] Permission denied:

on 10/3/13, 10:16 AM 24,707 views

Hello I have install openerp server and I can install features module, bit as soon as I try to install a foreign module, I receive this warning and the module is not installed.

OSError: [Errno 13] Permission denied: '/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/agaplan_import'

The server is Centos 6.4 and the openerp is the version 7

I can understand that it is a problem of permission. But how I am suppose to fix these setings?

Thanks for any help, or Idea


David Dean
On 10/17/13, 8:52 PM
chmod 775 /usr/lib/python2.6/site-packages/openerp-7.0_*.egg/openerp/addons
chown root.openerp /usr/lib/python2.6/site-packages/openerp-7.0_*.egg/openerp/addons

Note: This assumes the openerp server is running under the user 'openerp' which is a member of the openerp group.

martin mueller
On 10/3/13, 9:43 PM

How did you copy the folder "agaplan_import" into the addons directory? most likely the webserver user has no rights to read that folder (maybe it was copied as root).

Hello and thank you to take care of my issue. I just clic on install button on the apps section. and I receive this warning. I also try to install the module using filezila but you're right the openerp folder is under root and the user is root and the group as well. Therefore I do not know how to install it. The featured app works perfectly.

on 10/4/13, 4:54 AM

I notice that I can't update any Apps, I always receive this warning Pemission denied...Maybe this can help. So Now I am sure that there is an issue with the permission

on 10/4/13, 11:40 AM

You may have to check the owner of the folder addons. The webserver user must be able to write to this directory

martin mueller
on 10/4/13, 11:42 AM

Thank You Martin, How could I manage this? the owner group is root, so Do I have to give some extra rights to the user? or do I have to change the root folder right to a lower level, or a group level? By the way do you know where I can change the user rights? Cheers Frank

on 10/4/13, 11:48 AM

This is the issue I was having. I have read this is because we are running the server as root and it's said this is insecure. I don't know how to fix it because I don't have any linux admin skills and I only follow the doc on how to install. The documentation is just a copy and paste from v6.1 so it is wrong for v7 but still manageable to work if you mangle their instructions. Alas, there is no mention in the docs about this issue and what you should do about it. It basically just has you doing everything as root.

Elephante, Sean Samborski
on 12/30/13, 12:04 AM

chown -R openerp:openerp /usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/3/13, 10:16 AM
Seen: 24707 times
Last updated: 3/16/15, 8:10 AM