Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: File uploaded under 'nobody' uid on linux Date: Tue, 24 May 2011 08:08:25 -0400 Organization: albasani.net Lines: 29 Message-ID: References: <4b17d468-3056-4dc2-b1bb-5124ec077589@v10g2000yqn.googlegroups.com> <14bf3bb1-dd67-4157-a8a2-ffbe1fad1559@e26g2000vbz.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net pyqq/2tFZtJ7dCHSnal6+VxAyMBphZSqZO2lG4wAn08kr+zqyg3uAIALnggJ67m/sRIaFzU5j7g2NqZdavkcqHEv1AEPG49w93ugbOkMjReC1b3XjdXmQJ8Y29fgyRxW NNTP-Posting-Date: Tue, 24 May 2011 12:08:04 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="6heDBu9Lc8+wkBzqW7kyTedXh2fcTNJqi8TdEtWANQVkRDftGMWaw9farLD5ai+KuI3Ml0uzEo1of0Z8m5fFctHYHz3Op6OqgSRLNWObLOWOAQrXfKPUhEFcr+C35xHW"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: <14bf3bb1-dd67-4157-a8a2-ffbe1fad1559@e26g2000vbz.googlegroups.com> Cancel-Lock: sha1:Yyc4aOeIjj33t1fg6ITwJLvP9aQ= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4524 ruds wrote: > Tomcat is being run under root user. But my file location are in > another users home and it is in root group. > So, I cannot use suExec as it does not allow root goup users to run > the program. > I'm still not able to understand how does files get uploaded under > nobody'd uid? > > Please help. It has already been suggested that you not run Tomcat under root user. It has been proffered that that is possibly why it's using "nobody" as the user. Did you try that solution? To refresh your memory: ruds wrote: >> So isn't Tomcat running under root? Nigel Wade wrote: > That would be exceedingly dangerous. Maybe Tomcat has changed its > effective UID to "nobody" to avoid those dangers. Let us know how that works for you, something you have not done so far. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg