Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'root': 0.05; 'tree': 0.05; 'problem?': 0.07; 'reason,': 0.07; 'apache,': 0.09; 'http': 0.09; 'permissions': 0.09; 'skip:/ 10': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'apache': 0.15; 'benjamin': 0.16; 'clears': 0.16; 'folder,': 0.16; 'read-only.': 0.16; 'received:192.168.1.20': 0.16; 'rights,': 0.16; 'subject:Apache': 0.16; 'subject:issue': 0.16; 'subject:run': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'unlike': 0.19; 'seems': 0.21; 'email addr:gmail.com>': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'am,': 0.29; 'unix': 0.29; "i'm": 0.30; "skip:' 10": 0.31; 'names.': 0.31; 'os,': 0.31; 'subject:that': 0.31; 'up.': 0.33; 'checking': 0.33; 'mac': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'installing': 0.36; 'should': 0.36; 'example,': 0.37; 'apple': 0.38; 'writes': 0.38; 'skip:[ 10': 0.38; 'does': 0.39; 'read': 0.60; 'hope': 0.61; 'free': 0.61; 'header:Message-Id:1': 0.63; 'different': 0.65; 'temporary': 0.65; 'to:addr:gmail.com': 0.65; 'lose': 0.68; '8bit%:100': 0.72; '2013,': 0.91; 'mistakes': 0.93; 'subject:let': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schollnick.net; s=schollnick; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=o26KxzhNBMBNOnlnoSnoWujq1TAja99w4yptimzFYII=; b=RX1Z84aeLNzdkoEFNcplrupzWUhWYrXwiESRSOmHZ/M9zx6Q+NkXn2J81xgNROZA3G FyENEiijucWMyqTGrtek4B8IWu/7kot1siUxk0Fxup9+yyX67Kq65ZPcljvXqDX+ZSLa ELFsz5DpBoTOzhRP0rVsCEsYIXi/1DOHOJTuA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=o26KxzhNBMBNOnlnoSnoWujq1TAja99w4yptimzFYII=; b=hTdeqDSUwXF32Gjy8Bj0+X0LS+j43Q5rkRFzjt7TBsXrZxoNlgvyqk96cCku/5QaOh 275YyQN4Psyr4kZShefk9U+gmjElIdRTcvZWCD77GOxiQQGlXsgN013RhQHMLyXD3qpN Kcy/XWwSd+1wQkw4/H1rxv1hMOWadRiVERqrCB/Kf7AUCfxMgCIR6slPTOeRr1e7x/eA OxIsa3PiNKGyArIwwGj4xn03Fe3B+4aEpcV2g9gh7C1ghOmjrQb6626owfylcVfIhzE3 JB4ElUzY2IlEa/4B83sm/mrTd1JxwVIzDL4QeLjtG1hi76VVwbxB9ItVY+OjEN/146cu 78DQ== X-Received: by 10.50.136.201 with SMTP id qc9mr373398igb.47.1370341319253; Tue, 04 Jun 2013 03:21:59 -0700 (PDT) Sender: Benjamin Schollnick Content-Type: multipart/alternative; boundary="Apple-Mail=_66E8408E-D036-4B65-94C2-45C5EF04B3B8" Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Apache and suexec issue that wont let me run my python script From: Benjamin Schollnick In-Reply-To: <6c0ed9da-0f29-4b6b-a804-771763454dd4@googlegroups.com> Date: Tue, 4 Jun 2013 06:21:56 -0400 References: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> <51AD2564.6080707@gmail.com> <51AD70E8.70506@gmail.com> <6c0ed9da-0f29-4b6b-a804-771763454dd4@googlegroups.com> To: =?utf-8?B?zp3Ouc66z4zOu86xzr/PgiDOms6/z43Pgc6xz4I=?= X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQl3T/NPezyMdD2Wy/U26Obv98J06BoGIXJMuZpHfUTxDbDHcYFkmX0JqARbYrY1WvdMSrXJ Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 90 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370341322 news.xs4all.nl 15952 [2001:888:2000:d::a6]:38672 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46866 --Apple-Mail=_66E8408E-D036-4B65-94C2-45C5EF04B3B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Jun 4, 2013, at 6:12 AM, =CE=9D=CE=B9=CE=BA=CF=8C=CE=BB=CE=B1=CE=BF=CF=82= =CE=9A=CE=BF=CF=8D=CF=81=CE=B1=CF=82 wrote: > Checking the permissions of /var/log/httpd directory itself: >=20 > nikos@superhost.gr [~/www/cgi-bin]# ls -ld /var/log/httpd/ > drwx------ 2 root root 4096 Jun 1 02:52 /var/log/httpd// >=20 > Is that a problem? >=20 > http !=3D Apache ? Yes, httpd is Apache, or at least part of Apache. > i'm still confused about what is: > '/var/log/httpd' and what is '/usr/local/Apache' >=20 > Is seems like this is the same service runnign twice under different = names. Not really. =20 Unix unlike some other OSes, separates your data from your applications. That's one reason, when Apple designed Mac OS X, you can re-install Mac = OS X over your current installation, and not lose any data. Your user = data is separate from the OS data. The /Usr tree is considered read-only. In theory nothing should write = to that folder, unless you are installing Unix tools. Please note, it's = not read only in the OS, yes, it does require super user rights, but = that tree is not read only. The /Var tree is where the OS writes data to. For example, Log files, = temporary work files, etc. =20 I hope this clears some of this up. If I have made any mistakes here, please feel free to politely correct = me |-) - Benjamin --Apple-Mail=_66E8408E-D036-4B65-94C2-45C5EF04B3B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 nikos.gr33k@gmail.com> = wrote:
Checking the permissions of /var/log/httpd directory = itself:

nikos@superhost.gr = [~/www/cgi-bin]# ls -ld /var/log/httpd/
drwx------ 2 root root 4096 = Jun  1 02:52 /var/log/httpd//

Is that a problem?

http = !=3D Apache ?

Yes, httpd is Apache, or at = least part of Apache.

i'm still = confused about what is:
'/var/log/httpd' and what is = '/usr/local/Apache'

Is seems like this is the same service = runnign twice under different names.

Not = really.  

Unix unlike some other OSes, = separates your data from your = applications.

That's one reason, when Apple = designed Mac OS X, you can re-install Mac OS X over your current = installation, and not lose any data.  Your user data is separate = from the OS data.

The /Usr tree is considered = read-only.  In theory nothing should write to that folder, unless = you are installing Unix tools.  Please note, it's not read only in = the OS, yes, it does require super user rights, but that tree is not = read only.

The /Var tree is where the OS writes = data to.  For example, Log files, temporary work files, etc. =  

I hope this clears some of this = up.

If I have made any mistakes here, please = feel free to politely correct me |-)

- = Benjamin

= --Apple-Mail=_66E8408E-D036-4B65-94C2-45C5EF04B3B8--