Re: [Banshee-List] PHP scripting



umm. you would need to set up suid to the user banshee is running as.

On Thu, Nov 13, 2008 at 4:22 PM, c.alan.zoppa <cody zoppa gmail com> wrote:
>
> I'm attempting to build a banshee web interface, but I'm getting a
> permissions error. I'm assuming I need to add www-data to one group or
> another, but I'm too paranoid to do this blindly.
>
> Here's the error:
>
> [Warn 19:19:48.732] DBus support could not be started. Disabling for this
> session. [Info 19:19:48.749] Running Banshee 1.2.1
>
> Here's the PHP:
>
> <?php
> $output = shell_exec("banshee --play");
> echo $output;
> ?>
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/PHP-scripting-tp20492439p20492439.html
> Sent from the Banshee mailing list archive at Nabble.com.
>
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
>



-- 
Random quote of the week/month/whenever i get to updating it:
"Opportunity knocked. My doorman threw him out." - Adrienne Gusoff

"At school you don't get parole, good behavior only brings a longer
sentence." - The History Boys


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]