|
From: Stundzig, S. <Ste...@gd...> - 2004-12-02 07:12:30
|
Hi leif, you've done a great job with the wrapper tool. I love it. :-) Your current approach of using the 'su -m' to change the user which = executes the wrapper on unix has a tiny drawback. 'su -m' changes only = the effective UID and not the real UID as with 'su -'. This causes = problems on tools they use the UID and not the EUID as for example 'rcs' = wich is called by the RCSFileProvider of JSPWiki. I've replaced the=20 su -m $RUN_AS_USER -c "exec $CMDNICE.... in my sh start script to su - $RUN_AS_USER -c "cd `dirname $REALPATH`; exec $CMDNICE... and it works as expected.=20 Regards Steffen... |