Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #4524

Re: File uploaded under 'nobody' uid on linux

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lew <noone@lewscanon.com>
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 <irg733$633$1@news.albasani.net> (permalink)
References <4b17d468-3056-4dc2-b1bb-5124ec077589@v10g2000yqn.googlegroups.com> <ir2p4n$kf4$2@lust.ihug.co.nz> <ir34lt$eqj$1@news.albasani.net> <nospam-9D2A2B.20511619052011@news.aioe.org> <ir4iih$fos$1@news.albasani.net> <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

Show key headers only | View raw


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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

File uploaded under 'nobody' uid on linux ruds <rudranee@gmail.com> - 2011-05-18 01:12 -0700
  Re: File uploaded under 'nobody' uid on linux Lew <noone@lewscanon.com> - 2011-05-18 13:17 -0400
    Re: File uploaded under 'nobody' uid on linux Lew <noone@lewscanon.com> - 2011-05-18 13:17 -0400
      Re: File uploaded under 'nobody' uid on linux ruds <rudranee@gmail.com> - 2011-05-18 21:53 -0700
        Re: File uploaded under 'nobody' uid on linux Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-05-19 10:09 +0100
  Re: File uploaded under 'nobody' uid on linux Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-19 21:50 +1200
    Re: File uploaded under 'nobody' uid on linux Lew <noone@lewscanon.com> - 2011-05-19 09:07 -0400
      Re: File uploaded under 'nobody' uid on linux "John B. Matthews" <nospam@nospam.invalid> - 2011-05-19 20:51 -0400
        Re: File uploaded under 'nobody' uid on linux Lew <noone@lewscanon.com> - 2011-05-19 22:10 -0400
          Re: File uploaded under 'nobody' uid on linux "John B. Matthews" <nospam@nospam.invalid> - 2011-05-20 00:16 -0400
          Re: File uploaded under 'nobody' uid on linux ruds <rudranee@gmail.com> - 2011-05-24 01:15 -0700
            Re: File uploaded under 'nobody' uid on linux Lew <noone@lewscanon.com> - 2011-05-24 08:08 -0400
              Re: File uploaded under 'nobody' uid on linux "John B. Matthews" <nospam@nospam.invalid> - 2011-05-24 17:42 -0400

csiph-web