[fix] file: permission issue on email attachment
[fix] file: permission issue on email attachment

fix a file permission issue where 'private' email attachments were not viewable by anyone (including the uploader).

Signed-off-by: Chinmay Pai <ab3234b32bd9ecd2892f3eb0b557ab584a8ff0cf@gmail.com>

yashodhank/frappe,mhbu50/frappe,frappe/frappe,adityahase/frappe,StrellaGroup/frappe,StrellaGroup/frappe,almeidapaulopt/frappe,yashodhank/frappe,yashodhank/frappe,saurabh6790/frappe,RicardoJohann/frappe,frappe/frappe,mhbu50/frappe,yashodhank/frappe,RicardoJohann/frappe,adityahase/frappe,RicardoJohann/frappe,vjFaLk/frappe,vjFaLk/frappe,saurabh6790/frappe,saurabh6790/frappe,mhbu50/frappe,adityahase/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,adityahase/frappe,mhbu50/frappe,RicardoJohann/frappe,frappe/frappe,vjFaLk/frappe,almeidapaulopt/frappe,vjFaLk/frappe,StrellaGroup/frappe,saurabh6790/frappe