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" <to...@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@owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to