-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/07/2010 04:10, Todd Cary wrote: > I am trying to implement PHP upload functionality for an application. > When I attempt an upload in my test environment, I get the following error: > > An error has occurred: receiving directory insufficient > permission... The upload form is reloading > > The destination file being moved by move_uploaded_file is > > /home/httpd//test/upload/uploads/1278898550-_DSC1159.jpg > > The initial file name is suppose to be > > /tmp/phpR1lmmc > > I am not sure what to set for Owner and Group for the "uploads" > directory nor the permissions (it is now set to 775). Assuming your apache process trying to move the file is running under uid apache and gid apache then setting Group to apache for the uploads dir should be sufficient (Leave permissions at 775) - -- Regards, Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw648gACgkQYoWFBIJE9eVppwCgj2lDeqFqEci/J1KIk5+YTLdX iYQAniZIMyrZPVfxjCoydkejZl4IpHZC =CMHq -----END PGP SIGNATURE-----