Re: chmod - Opertaion not permitted in ....

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

 



Michael A. Peters wrote:
> Morris wrote:
>> Hi all
>> Got a problem don't know how to get in really..
>>
>> simple code:
>> <?php
>>
>> chmod("/aaa/bbb.php", 0777);
>>
>> ?>
>>
>> and I get a warning says "Operations not permitted in ....."
>>
>> Anyone met this before? I've done quite a lot reading on Google but
>> couldn't
>> get to it.
>>
>> THanks
>>
> 
> Many servers do not allow the apache (or php) to change file permissions.

Most likely the apache user doesn't own the file.  You can't CHMOD a
file if you don't own it.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
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