Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread John Nichel
tedd wrote: At 11:18 AM -0400 5/17/06, John Nichel wrote: 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

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread tedd
File permissions is beyond the scope of this mailing list. You need to buy a book, research on the web, etc., on *nix system administration, and concentrate on the filesystem/security/permissions sections, and the section on how apps/daemons operate. -- John C. Nichel IV John: My

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread John Nichel
tedd wrote: File permissions is beyond the scope of this mailing list. You need to buy a book, research on the web, etc., on *nix system administration, and concentrate on the filesystem/security/permissions sections, and the section on how apps/daemons operate. -- John C. Nichel IV

RE: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread tedd
At 5:11 PM -0600 5/17/06, Brady Mitchell wrote: chmod() can only change the permissions of files that are owned by the user running the command. In most cases, this is the user that the web server runs on. That confuses me, because who's the user here? Is it just the system administrator

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread Richard Lynch
On Wed, May 17, 2006 10:01 am, tedd wrote: 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

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread Richard Lynch
On Wed, May 17, 2006 6:01 pm, tedd wrote: chmod($url, 0755); //where $url is the file I want to change. If $url is an actual URL to the file, with http:// in the front, you almost for sure cannot chmod that... You have to chmod it as a FILE in the file-system. That confuses me, because who's

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-18 Thread Richard Lynch
On Thu, May 18, 2006 10:50 am, tedd wrote: File permissions is beyond the scope of this mailing list. You need to buy a book, research on the web, etc., on *nix system administration, and concentrate on the filesystem/security/permissions sections, and the section on how apps/daemons operate.

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-17 Thread Jochem Maas
tedd wrote: Hi GANG: :-) 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

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-17 Thread John Nichel
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

Re: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-17 Thread tedd
At 11:18 AM -0400 5/17/06, John Nichel wrote: 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:

RE: [PHP] Warning: chmod(): Operation not permitted ?

2006-05-17 Thread Brady Mitchell
chmod() can only change the permissions of files that are owned by the user running the command. In most cases, this is the user that the web server runs on. That confuses me, because who's the user here? Is it just the system administrator or the application? This is the user that