in reply to Setting file upload permissions
Print some diagnostic information to the browser.
How about making the system 'ls -l' call on the file uploaded? Call this function just after the file upload and after the chmod() call. Print this info to the browser.
Also, type 'umask' command in your Unix command prompt. This will tell you the default file permissions assigned to your user ID. You might also choose to play with the umask command a bit too.
|
---|