This seams to be an access problem in the file system. 

Check if the user Id the process executes under actually have
the proper rights in the filesystem, e.g.  write (or modify)
permission on all the directories in
/home/p/plantsko/www/administration/data/.

If you are running under some flavour of unix you must also ensure
that the process have execution right (--x) on all directories
in the path in order to access the file.

If you are running under win32 platfrpom (e.g. NT with NTFS)
then sort of the same holds true - I think. But who knows
for sure with Bill... ;)

Additional question:

* how are you executing this? Via the webserver(?),
  and if so, what kind of webserver are you using?


-----Original Message-----
From: Bobo Wieland
To: [EMAIL PROTECTED]
Sent: 2004-01-02 11:39
Subject: [PHP-WIN] chmod

I'm trying to set write permission for a folder to be able to write
images...

chmod("./../img/sort",0777) just causing a warning:

Warning: chmod(): Operation not permitted in
/home/p/plantsko/www/administration/data/imglib.php on line 11


Anyone know what might cause this warning?

I've tried chmod("/home/p/plantsko/www/img/sort",0777) which causes the
same warning...



.bobo

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

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

Reply via email to