Permission denied @ rb_sysopen -

Hello,

when my users try to upload a header in their profil, the upload failed with below message:

Permission denied @ rb_sysopen
/var/www/discourse/public/uploads/default/original/2X/e/e4a6671d19a85c92b711e56ee6a939a7d947a0fb.jpeg

When i go in the app and run ls -l /var/www/discourse/public/uploads/ i got:

drwxr-xr-x 4 discourse www-data 4096 Feb 18 12:51 default
drwxr-xr-x 3 discourse www-data 4096 Feb 24 16:53 tombstone

i did a regular installation
Thank you

1 Like

the issue is resolved: i simply rebuild the app with ./launcher rebuild app
(but not sure why I had this issue before)…

2 Likes