[Setup] User permissions Buildout error

afewtips.com afewtips at gmail.com
Tue Aug 19 11:10:44 UTC 2008


I am doing my first buildout and everything works perfectly until...

 sudo ./bin/instance fg
I have changed the effective user, the user name... all the same. Do I need
to create a zope user or can I run the instance under my login (which is
admin rights)?
I get this error:

/home/webmaster/sampleweb/parts/instance/bin/runzope -X debug-mode=on
2008-08-19 07:05:31 INFO ZServer HTTP server started at Tue Aug 19 07:05:31
2008
	Hostname: localhost
	Port: 8080
2008-08-19 07:05:31 CRITICAL Zope A user was not specified to setuid to; fix
this to start as root (change the effective-user directive in zope.conf)
Traceback (most recent call last):
  File
"/home/webmaster/sampleweb/parts/zope2/lib/python/Zope2/Startup/run.py",
line 56, in ?
    run()
  File
"/home/webmaster/sampleweb/parts/zope2/lib/python/Zope2/Startup/run.py",
line 21, in run
    starter.prepare()
  File
"/home/webmaster/sampleweb/parts/zope2/lib/python/Zope2/Startup/__init__.py",
line 98, in prepare
    self.dropPrivileges()
  File
"/home/webmaster/sampleweb/parts/zope2/lib/python/Zope2/Startup/__init__.py",
line 234, in dropPrivileges
    return dropPrivileges(self.cfg)
  File
"/home/webmaster/sampleweb/parts/zope2/lib/python/Zope2/Startup/__init__.py",
line 403, in dropPrivileges
    raise ZConfig.ConfigurationError(msg)
ZConfig.ConfigurationError: A user was not specified to setuid to; fix this
to start as root (change the effective-user directive in zope.conf)

Thanks

-- 
View this message in context: http://n2.nabble.com/User-permissions-Buildout-error-tp732910p732910.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list