Good morning
I have installed from fresh and am getting some issues with attachments on the filesystem. System details attached.

The tickets are being created by email. The attachment shows and can be downloaded. The file that downloads is empty (0kb). I can go into the folder on the server and locate the file. This will download and when the correct file type ending is added they open correctly.
The permissions on the files stored on the filesystem look incorrect but I am not sure. (picture 2). I have chowned and chmoded the files and directories (attachments folder is in the html root folder). This does not seem to enable the attachment to download correctly.

When the attachments are moved to the filesystem they are added as owner nobody:nobody with folder permission 1355. The file in the folder is nobody:nobody and file permission 0644.
The error log shows the following during the attempted download.

I would guess that I am missing some config in php?
Thanks for any assistance.