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=15804>. 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=15804 execute tasks as a specified user ------- Additional Comments From [EMAIL PROTECTED] 2003-01-06 15:54 ------- This is an Idea I've thought about a bit, but I havn't seen a good answer. I actually have a case where I need to run as root so I can set strong permissions, but I don't want the sub builds to run as root because I want to make them writeable by various individuals, and it would be nice if I didn't have to trust them all with root access. I think the core problem is that you can't easily change what user the jvm running ant is. Ant can't respond to prompt so using things like su -c and sudo only works from root down to lesser users. I know sudo from root to other users is possible by execing sudo (I had to do this to make CVS happy, it didn't like root commits). This would be a nice feature, but any change of user will probably need to work through sudo -S. (unless the information is written to a file and you <waitfor> that file :) ). -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
