Re: [PHP] copy_file() files

2003-12-04 Thread Ajai Khattri
On Thu, Dec 04, 2003 at 06:21:05AM -0600, Jay Blanchard wrote: > You had already stated the owner/group...I want to know what the > read/write permissions are. For 'nobody' to be able to write to a > directory that directory must be owned by 'nobody' > > drw--- (chmod 600) > > If the group i

RE: [PHP] copy_file() files

2003-12-04 Thread Jay Blanchard
[snip] Of course, user nobody had read/write permission and the group too. As an administrator with 15 years experience of Unix, I think I understand this! ;-) [/snip] Glad you solved your problem. Sorry for making an assumption about your lack of knowledge or experience. -- PHP General Mailing

RE: [PHP] copy_file() files

2003-12-04 Thread Jay Blanchard
[snip] > What is the chmod of those files/directories. [/snip] You had already stated the owner/group...I want to know what the read/write permissions are. For 'nobody' to be able to write to a directory that directory must be owned by 'nobody' drw--- (chmod 600) If the group is 'nobody' it

Re: [PHP] copy_file() files

2003-12-03 Thread Ajai Khattri
On Wed, Dec 03, 2003 at 11:19:46PM +0100, Bronislav Klucka wrote: > are you working with uploaded files?? because move_uploaded _files() woks > only with them, I switched to this function and had the same problem. > and what is $image variable??? is that file on disk or uploaded file?? do u It

Re: [PHP] copy_file() files

2003-12-03 Thread Ajai Khattri
On Wed, Dec 03, 2003 at 03:06:50PM -0600, Jay Blanchard wrote: > What is the chmod of those files/directories. Also, there is no Well, the destination folder (as I stated) is owned by user nobody and group nobody. Apache is running as user nobody and group nobody. And Im assuming that any files w

RE: [PHP] copy_file() files

2003-12-03 Thread Jay Blanchard
[snip] I recently upgraded PHP and now have two sites that use copy_file() that no longer work. I have safe_mode=Off in my php.ini. Also, the files and directories Furthermore, the file and directories Im trying to copy files to are owned by user nobody and group nobody (My Apache server runs as us

[PHP] copy_file() files

2003-12-03 Thread Ajai Khattri
I recently upgraded PHP and now have two sites that use copy_file() that no longer work. I have safe_mode=Off in my php.ini. Also, the files and directories Furthermore, the file and directories Im trying to copy files to are owned by user nobody and group nobody (My Apache server runs as user nobo