OSCommerce Product Manager for Windows
FS#181 - Uploaded images are readable only by the webserver user.
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Friday, 01 April 2005, 14:46 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 03 April 2005, 23:07 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Friday, 01 April 2005, 14:46 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 03 April 2005, 23:07 GMT
|
DetailsPermissions of the uploaded images are u+rw only. (Only the owner can read/write them).
For some server tasks (for example, if images are managed also by the admin using his/her own server account) it would be useful to configure, at least, what permissions to set the uploaded images. It could be a server-side option in the script (hard to change) or a client-side configurable request sent every time an image is uploaded (easier to change). |
This task depends upon
Changed from Enhancement to Minor issue.
Implemented.
Closed.
Now, the server-side script will change the ownership of the uploaded files to 0644 (octal), being rw-r--r-- (owner can read-write, others only read).
Configurable in the opm_upload_perms variable.