Hey all,

I'm running into a bit of an issue with uploading attachments to comments. I've set everyone to have the correct permissions, yet we all get 403's when clicking on uploaded attachments. When I manually (through an FTP) set the read/write permissions to read, then the 403 goes away and the file becomes visible. Does anyone know if there's an apparent issue with this or if I'm missing something?

FYI: The attachments upload the the location of sites/default/files

Thanks!

--nks

Comments

ambientdrup’s picture

Is your Drupal file system set to private or public downloads? That configuration is here:

/admin/settings/file-system

-backdrifting

etc-cvl’s picture

Thanks for the reply.

It's set to public.

This situation is absolutely baffling to me.

--nks

ambientdrup’s picture

Ok, so the issue is that you can upload them, but when trying to download them you're getting the 403 correct?

-backdrifting

etc-cvl’s picture

Yes.

If you click on the attachment, you get a 403. When I go into the FTP and manually set the attachment to "Read", then it works.

For some reason, it's changing permissions when the attachments are uploaded.

--nks