El Dorado

A full-stack community web application written in Ruby/Rails
File and directory permissions « Wordpress « almost effortless
 
Tue, 22 Nov 2005, 5:10pm #1
takyano
New member
Registered: Nov, 2005
Last visit: Tue, 27 Dec 2005
Posts: 3

I see that the uploaded file's permissions are being set 0777:

@chmod($uploadfile, 0777);

I changed that to 0644 and could see setting it even more restrictive depending on how paranoid someone is about their hosting setup.

This would also be nice to have as a option. :)

Offline
Tue, 29 Nov 2005, 11:21pm #2
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 3 hours ago
Posts: 226

I've never really understood what the different permissions do... I wouldn't mind making a way to set this via the admin menu option at all, but what would be a good default, and why?

Offline