OSCommerce Product Manager

OSCommerce Product Manager for Windows
Tasklist

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, 08:46 GMT-6
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 03 April 2005, 18:07 GMT-6
Task Type New feature
Category Backend / Core
Status Closed
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Medium
Priority Normal
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Permissions 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

Closed by  Mario A. Valdez-Ramirez (mvaldez)
Sunday, 03 April 2005, 18:07 GMT-6
Reason for closing:  
Comment by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 03 April 2005, 18:07 GMT-6

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.




Loading...