[owncloud-devel] Console has to be executed with the same user as the web server is operated
morris at owncloud.com
Thu Feb 5 09:29:55 GMT 2015
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.
Am 05.02.2015 um 10:28 schrieb Tobia De Koninck:
> 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"
> Devel mailing list
> Devel at owncloud.org
Morris Jobke (morris.jobke at owncloud.com)
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)
More information about the Devel