dariussutherland — 2011-06-11T14:13:35-04:00 — #1
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....
dariussutherland — 2011-06-12T04:00:14-04:00 — #2
I am creating dirs using 0777
dariussutherland — 2011-06-13T14:16:45-04:00 — #3
dariussutherland — 2011-06-14T09:41:53-04:00 — #4
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...