HEEELP...Dreaded Upload Permissions

Need some help with permissions…

Have a multiple upload form, everything seems fine. I have never recieved the error personally on 2 different machines running the web form.

But every now and then I get the :

receiving directory insuffiecient permission

I create user directories on the fly, then upload to tmp area, then move the files to the correct directory. As above, this works most of the time but then sometime not…

Any thoughts?

I am creating dirs using 0777

Here’s Hoping…

Okay. I may be speaking to soon, hope not.

But for anyone with similar problems…Even tho I created the dir with 0777 permisions. I still had to chmod the folder I was uploading to later to provide access. chmod($thisdir .“/” . $userdirectory, 0777); not sure if 0777 is the right permissions, it did give execute permissions once I looked at the properties of the folder via FTP…