File Permission in shiny

Dear Community,
I apologize if this is a duplicate, but I couldn't find anything in the search (having said this I'm a beginner level programmer).
I deployed a shiny app on an EC2 instance (Ubuntu 18.04) . Within the app I create and store new files. These files I need to access outside of shiny. However, shiny sets the file permissions by default to -rw-r----- (as user shiny). I can go in manually and change the file permissions, but that would not be feasible in production. Is there a way I can tell the OS or shiny to store files with a different default permission set?
Thank you for your help.
Mathias

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.