[owncloud-devel] Console has to be executed with the same user as the web server is operated

Robin McCorkell rmccorkell at karoshi.org.uk
Thu Feb 5 09:46:03 GMT 2015


If you have sudo installed, you can use `sudo -u apache /srv/domain/occ
...`, which saves a few characters :)
On 5 Feb 2015 09:28, "Tobia De Koninck" <tobia at ledfan.be> wrote:

>  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 at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150205/e09c2db9/attachment-0001.html>


More information about the Devel mailing list