Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

Permission denied: '/etc/init.d/openerp-server' #2

@sylvainbannier

Description

@sylvainbannier

Some permission error when bulding with a normal user :

While:
  Installing openerp-initd-server.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/mnt/home/syban/projets/inra-cra/trunk/openerp.buildout/eggs/zc.buildout-1.5.2-py2.7.egg/zc/buildout/buildout.py", line 1805, in main
    getattr(buildout, command)(args)
  File "/mnt/home/syban/projets/inra-cra/trunk/openerp.buildout/eggs/zc.buildout-1.5.2-py2.7.egg/zc/buildout/buildout.py", line 584, in install
    installed_files = self[part]._call(recipe.install)
  File "/mnt/home/syban/projets/inra-cra/trunk/openerp.buildout/eggs/zc.buildout-1.5.2-py2.7.egg/zc/buildout/buildout.py", line 1297, in _call
    return f()
  File "/mnt/home/syban/projets/inra-cra/trunk/openerp.buildout/eggs/collective.recipe.template-1.9-py2.7.egg/collective/recipe/template/__init__.py", line 80, in install
    output=open(self.output, "wt")
IOError: [Errno 13] Permission denied: '/etc/init.d/openerp-server'

it seems that the script tries to write to /etc/init.d without suficient permission.

Therefore no openerp-server script is created.

proposal :
create a script with sudo before writing the template in [openerp-initd-server] from profiles/base.cfg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions