Re: Setting group sticky bit on directory with chmod()
| From: | Richard Lynch | Date: | Wed, 08 Aug 2007 03:09:51 +0000 |
| Subject: | Re: Setting group sticky bit on directory with chmod() | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260399@lists.php.net to get a copy of this message | ||
On Thu, August 2, 2007 10:48 am, Ben Ramsey wrote:
> On 8/2/07 11:45 AM, Tijnema wrote:
>> On 8/2/07, Ben Ramsey <ramsey@php.net> wrote:
>>> So, what are we doing wrong with chmod() that is causing us to get
>>> the
>>> wrong results? Keep in mind that we are running the PHP script as
>>> the
>>> same user who owns the directory.
>>
>> Who is the owner of the directory containing this test1 directory?
>> That one should also be the same as PHP script is running on AFAIK.
>>
>
> Read my last paragraph. ;-)
Re-read his... ;-)
Who owns the directory ABOVE test1?
That's the ownership that matters for mucking with test1 permissions, no?
Though if it works from command line, it should work from PHP, I
think... Might even be a PHP bug...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?