{"issue":{"created_at":"2011-12-05T14:35:33Z","state":"closed","updated_at":"2011-12-05T15:13:30Z","comments":1,"user":{"gravatar_id":"55ea9e331b2baabb5b7c14daffd0b35b","id":452941,"url":"https://api.github.com/users/sylvainbannier","avatar_url":"https://secure.gravatar.com/avatar/55ea9e331b2baabb5b7c14daffd0b35b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"sylvainbannier"},"body":"Some permission error when bulding with a normal user :\r\n\r\n```\r\nWhile:\r\n  Installing openerp-initd-server.\r\n\r\nAn internal error occurred due to a bug in either zc.buildout or in a\r\nrecipe being used:\r\nTraceback (most recent call last):\r\n  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\r\n    getattr(buildout, command)(args)\r\n  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\r\n    installed_files = self[part]._call(recipe.install)\r\n  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\r\n    return f()\r\n  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\r\n    output=open(self.output, \"wt\")\r\nIOError: [Errno 13] Permission denied: '/etc/init.d/openerp-server'\r\n```\r\n\r\nit seems that the script tries to write to /etc/init.d without suficient permission.\r\n\r\nTherefore no openerp-server script is created.\r\n\r\nproposal : \r\ncreate a script with sudo before writing the template in [openerp-initd-server] from profiles/base.cfg","assignee":null,"number":2,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2449794,"labels":[],"title":"Permission denied: '/etc/init.d/openerp-server'","html_url":"https://github.com/kdeldycke/openerp.buildout/issues/2","closed_at":"2011-12-05T15:13:30Z","url":"https://api.github.com/repos/kdeldycke/openerp.buildout/issues/2","milestone":null},"action":"closed"}