Because for some commands you write into the data directory or the config file and this isn't possible if you're not the owner (webserver user) of this file.

Morris

Am 05.02.2015 um 10:28 schrieb Tobia De Koninck:
Hi

I just upgraded from oC7 to oC8, everything went fine.
When I try to tun the occ command, I get this error:
Console has to be executed with the same user as the web server is operated

Why must I run the console command as the same user as the web server?
IMO it isn't that easy to run commands as the web server user. I used:

su  -s  /bin/sh  apache-c  "/srv/domain/occ"


Thanks!

Tobia




_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel


--
Morris Jobke (morris.jo...@owncloud.com)
ownCloud Inc.

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to