right guys ive ran into a problem with file permissions with the following upload form. a text file is passed to the upload/ dir by global users.
mysite$ ls
You can use chmod to change the file permissions.
To get the permissions of a file, use fileperms.