Hi all, I''m having an odd problem with file upload, and it''s probably a pebchak problem, but like all developer''s, I''m going to blame it on ruby''s CGI library; but I''m posting here anyway ;) I''m not quite up on my linux-fu, so bear with me ;) As I understand it, when you upload a file it places it in your /tmp dir Then you can use fileutils.copy like so: (self.name has been pre-sanitized here) FileUtils.copy(incoming_file.local_path, RAILS_ROOT+"public/pictures/" + self.name) This works just great! ... most of the time. sometimes, my users report a permission denied error on /tmp/CGI02342.5 (or whatever). What happens, is, the file is uploaded (by cgi.rb) to /tmp nicely. However, the permissions are set to 000. Normally, (when it works) they are 600. So it seems that the upload isn''t getting chmod''ed, and so we can''t read the file (the owner/group is fine though). I''m going to try hacking the ruby cgi.rb, but is there something i''m missing? /tmp is 777''d. Should I set up a /tmp/apache and chown it with the apache uid/group and hope that that''ll work better? TIA -courtenay (also on IRC if you wanna buzz me there)