Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- Date: Mon, 29 Nov 2010 00:11:19 +0900
- From: Dave M G <dave@example.com>
- Subject: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- References: <4CEB46A8.6000202@example.com> <AANLkTikFnEpNOH6xa48Lio3e0XSGRDD9tDyJ_SM01NLv@example.com> <4CED3243.6070002@example.com> <AANLkTi=eq-A8nXOXFxg63FBc4mNE1pjY-v+o7g-c=PVi@example.com> <87d3pubise.fsf@example.com> <4CEE84F0.3080807@example.com> <4CEF3663.5070001@example.com> <878w0g7j80.fsf@example.com> <4CEFF98C.4030207@example.com> <87r5e75d1c.fsf@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
Sach, Steve, Darren, Stephen, Thanks for following up with more advice. Seems Sach was basically right about the state of affairs. I tried this code: $old=umask(0); mkdir($dirPath,0777); umask($old); ... and it didn't work. Then I put things back, but it's still not working. Now I don't know if experimenting with the code broke something, or if the time when it worked was an anomaly. So... first, the script is being run from a web browser. Not CLI. However, the ultimate intention is to run it via cron job. I don't know if cron is run under the authority of the apache user or what. # ps aux | grep apache nobody 7513 0.3 0.0 24296 12396 ? S 05:12 0:14 /usr/local/apache/bin/httpd -k start -DSSL root 15994 0.0 0.0 23632 12788 ? Ss Nov23 0:18 /usr/local/apache/bin/httpd -k start -DSSL nobody 25784 0.4 0.0 24044 12132 ? S 05:10 0:17 /usr/local/apache/bin/httpd -k start -DSSL root 28489 0.0 0.0 1648 472 pts/0 S+ 06:14 0:00 grep apache # ps aux | grep httpd nobody 7513 0.3 0.0 24296 12400 ? S 05:12 0:14 /usr/local/apache/bin/httpd -k start -DSSL root 7550 0.0 0.0 1648 472 pts/0 S+ 06:15 0:00 grep httpd root 15994 0.0 0.0 23632 12788 ? Ss Nov23 0:18 /usr/local/apache/bin/httpd -k start -DSSL Any ideas about what I can do to further analyze and diagnose this situation. -- Dave M G
- Follow-Ups:
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- From: Sach Jobb
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- From: Darren Cook
- References:
- [tlug] Arrrg! Permissions driving me nuts in PHP
- From: Dave M G
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP
- From: Edmund Edgar
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP
- From: Dave M G
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP
- From: Sach Jobb
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP
- From: Stephen J. Turnbull
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- From: Dave M G
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- From: s smith
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- From: Stephen J. Turnbull
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- From: s smith
- Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- Next by Date: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- Previous by thread: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [SOLVED]
- Next by thread: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [UN-SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links