Re: Warning: chmod(): Operation not permitted ?

From: Date: Wed, 17 May 2006 15:18:39 +0000
Subject: Re: Warning: chmod(): Operation not permitted ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-236352@lists.php.net to get a copy of this message
tedd wrote:
Hi (please insert your preference): This should be simple, but I'm having problems. I have a program that uploads an image file and then tries to set the permissions for the image (to be altered later). However, I get a "Warning: chmod(): Operation not permitted" error when trying to set the permission, what gives? If my program created the file, shouldn't it have permission to set the files permissions? What am I not understanding?
Without seeing code, permissions of the directories, what sticky bits might or might not be set, etc., you could not be understanding many things....or just one....who knows. http://www.google.com/search?q=php+%22Warning%3A+chmod%28%29%3A+Operation+not+permitted%22&btnG=Search -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#236352) next »