Re: Setting group sticky bit on directory with chmod()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxx> 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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux