|
From: Mark M. <MMo...@gl...> - 2006-07-30 13:19:00
|
Hi Leif...=20 I already set the service jsw is wrapping to run under a specific = account... But the file it touches still come out owned by the = administrators group, not the login... The login used is a domain acct = (not local to the box) but it is in the admin group. It just struck me = as odd they weren't coming out owned by the running login. Mark -------------------------- Sent from my BlackBerry Wireless Handheld =20 This e-mail message, and any attachments, is intended only for the use = of the individual or entity identified in the alias address of this = message and may contain information that is confidential, privileged and = subject to legal restrictions and penalties regarding its unauthorized = disclosure and use. Any unauthorized review, copying, disclosure, use or = distribution is strictly prohibited. If you have received this e-mail = message in error, please notify the sender immediately by reply e-mail = and delete this message, and any attachments, from your system. Thank = you.=20 -----Original Message----- From: wra...@li... = <wra...@li...> To: wra...@li... = <wra...@li...> Sent: Sat Jul 29 21:10:56 2006 Subject: Re: [Wrapper-user] files touched by things using JSW? Mark, The Java Service Wrapper, like all applciations, will be run as the=20 current user when run as a console app, or a standalone application. When run as a=20 service, they will be run as the SYSTEM account. I think this is what you are seeing. If you=20 look at the task manger while the service is running, you will see that both the=20 wrapper.exe and java.exe processes are running as SYSTEM. You can control this by using the wrapper.ntservice.account and password properties to run as a specific account. Also note that the SYSTEM user will not have access to network drives,=20 but that non-SYSTEM users will not be able to interact with the desktop. Cheers, Leif Mark Modrall wrote: > > Hi... > > I noticed something a little odd while running Cruise Control under=20 > JSW. All the files updated by svn and the log files have an odd owner. = > When I was first trying to get it working, I found that running as a=20 > service, JSW could write neither its nor CC's log files unless I=20 > changed the service definition to run under a specific account. > > The account I chose was a domain account (not local) with local=20 > membership in the Administrators group. When running CC from a login,=20 > all log files and svn updates are owned by the login account. When=20 > running as a service, all log files and svn updated-files show up as=20 > being owned by the local Administrator group (no specific owner). > > Anyone seen this before? > > Thanks > > -Mark > -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |