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 [SOLVED]
- Date: Fri, 26 Nov 2010 14:03:11 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Arrrg! Permissions driving me nuts in PHP [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>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
> Does umask permissions take precedence over mkdir permissions? It might > be worth trying a umask 0 before the mkdir command. Yes. http://jp2.php.net/mkdir http://jp2.php.net/umask I think that fits the initial description of the problem; Dave, I'd be interested to hear if this fixes it: $old=umask(0); mkdir($dirPath,0777); umask($old); Darren P.S. The comments on the above manual entries are interesting, especially regarding security. But if you're using 777 then I assume this doesn't need to be secure :-) -- Darren Cook, Software Researcher/Developer http://dcook.org/gobet/ (Shodan Go Bet - who will win?) http://dcook.org/work/ (About me and my work) http://dcook.org/blogs.html (My blogs and articles)
- 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
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 [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 [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links