DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16369>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16369

jasper4 does wrong su call

           Summary: jasper4 does wrong su call
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The call of su in /usr/bin/jasper4 does not work on Linux.

root@titan root# /usr/bin/jasper4 jspc -webapp
/var/tomcat4/webapps/tiles-documentation
su: invalid option -- w
Try `su --help' for more information.

Solution:
1. You have to change the order of switches from
su - user -c cmd
to
su -c cmd - user 

2. Additionally cmd has to be protected so that it's not interpreted by su.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to