On 18 April 2010 11:49, DEEPAK JOY CHEENATH <[email protected]> wrote: > > ----- "Jimmy O'Regan" <[email protected]> wrote: >> On 18 April 2010 10:51, DEEPAK JOY CHEENATH <[email protected]> >> wrote: >> > Hello, >> > I've upload my code for the new geriaoueg. >> > >> > https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-tools/geriaoueg_new >> > Its still not working completely, but I'll update it soon. >> > The modules are all working as per my tests, just having a problem >> > running shell commands. >> > >> >> You have this comment: >> // 2. Making shell_exec() work with root permissions. >> >> Wrong, wrong, wrong. If that's the problem you're having, it's because >> trying to run it as root is wrong. Run as a normal user. >> > > Thanks for the comment. > Yeah I understand. Would it be acceptable to add the apache user in the > "sudoers" file, so that it can run lt-proc without password? > There should be no other permissions required. >
Err.. you're still doing the same bad thing in a different way. No. Just don't do it, ever. -- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
