[plumi-discuss] indytube problem
victor rajewski
askvictor at gmail.com
Thu May 14 20:27:44 EST 2009
Hi John,
On Thu, May 14, 2009 at 4:42 PM, John Hackett <john.hackett at e2bn.org> wrote:
> I think this is an easy one - what user does indytube run as?
I believe that by default it runs as root. This is not ideal. You
could easily make it run as another user, provided the permissions are
set correctly. NFS generally does not allow root access across
machines.
You might also be interested it this init.d script I wrote recently -
it starts and stops indytube via the system daemon scripts:
http://plumi.org/wiki/IndyTubeInitScript
To change the user you'd have to "su $INDYTUBE_RUN_AS -c
/some/command" or something to that effect; there may be hassles
involving the log file redirects so make sure your quotes are set up
properly.
There is also:
http://plumi.org/wiki/ZopeInitScripts
>
> The reason I ask is that I am having some issues with transcoding where the
> data files are located on an NFS mounted directory. I thought I had this
> working after this move was done but now I'm not so sure! The indytube log
> is giving me permissions errors in the flv-files directory although it does,
> it appers, have the correct permisisons for the plone and apache users (both
> can read/write). However is indytube is running as root on the webserver it
> will be denied access to the directory which is really on anther server.
>
> --
> Regards,
>
> John Hackett
> E2BN
> t: 020 8764 2663
> f: 020 8764 1318
> m: 07801 231118
> e: john.hackett at e2bn.org
> w: www.e2bn.org
> skype: johh_hackett
>
> ----- Original Message -----
> From: "Lachlan Musicman" <datakid at gmail.com>
> To: "Discussion about software development on Plumi"
> <discuss at lists.plumi.org>
> Sent: Thursday, 14 May, 2009 04:08:19 GMT +00:00 GMT Britain, Ireland,
> Portugal
> Subject: Re: [plumi-discuss] Apache setup
>
> nice one, look forward to be able to use it.
>
> L.
>
> On Wed, May 13, 2009 at 01:33, victor rajewski <vik at engagemedia.org> wrote:
>> I've been toying with the apache setup conf, and have made the
>> following page: http://plumi.org/wiki/ApacheSetup
>>
>> The first conf is a standard rewrite like what is used currently (some
>> comments added)
>>
>> The second conf allows for putting the flv files in the same
>> VirtualHost as the plone site. It doesn't perform the redirect if the
>> URI matches a particular pattern - namely /flv-files or something
>> equivalent. As long as a similarly named object isn't created in the
>> root of the plone site there shouldn't be any conflicts. Can someone
>> perform some sanity checking on this approach and the conf file I've
>> created? It works on my test setup, and I think it makes installation
>> slightly 'cleaner' and simpler. It can also be useful for installs
>> that don't have the option of multiple virtual hosts, or a nameserver
>> at all (this was prompted by the lack of DNS server at an archives
>> install, which has since been resolved by adding a DNS server, but not
>> before the idea had become ingrained :)
>>
>> vik
>> _______________________________________________
>> Discuss mailing list
>> Discuss at lists.plumi.org
>> http://lists.plumi.org/listinfo/discuss
>>
>
>
>
> --
> Vive les poissons rouges sauvages!
> _______________________________________________
> Discuss mailing list
> Discuss at lists.plumi.org
> http://lists.plumi.org/listinfo/discuss
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.plumi.org
> http://lists.plumi.org/listinfo/discuss
>
>
More information about the Discuss
mailing list