Odoo Help

Welcome!

This community 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.

0

"Operation not permitted" error trying to put a new module into the addons directory

v7
By
Amina Khechou
on 6/29/15, 8:15 PM 457 views

hey 

please i need help ! i'll create new module into openerp and put that into addons directory but i can't operation not permitted !!! i use ubuntu 14 and openerp 7 

0

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 6/30/15, 8:33 AM

You probalby installed odoo server using some cook-book... and obviously you lack linux skills..
Most likely this error is relate to file system permisiions, you are logged to your server using your user account, and you are trying to write to a location owned by openerp/ odoo system user... (something like /opt/openerp or /opt/odoo)

To find that out, from terminal type 

ls -la /opt/openerp/addons # or your full path to addons folder

see which user/group ownes that location... 
from this point on.. you need to find most apropriate way to put files there... using sudo, or correct user or something... 
this is only to point where to look for solution.. 


hope it helps


0
Amina Khechou
On 6/30/15, 5:18 AM

Thanks a lot Ludovic :) apparently it works !! 

0
Ludovic CHEVALIER
On 6/30/15, 3:56 AM

Can you tell us more?

Maybe you try to copy your module in a restricted permission directory …

So, you have to have right permission to do it.

But' the good way for add custom modules is to them in an other folder and add the new path in your odoo configuration file: /etc/openerp/openerp-server.conf


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/29/15, 8:15 PM
Seen: 457 times
Last updated: 6/30/15, 8:33 AM