Can shiny run apps as specific users instead of shiny?


The shiny server is configured to allow users to create their apps under their home directories. But seems the server is running users’ apps as shiny instead of the user and the app has no permission to access the user’s home directory. The server’s able to create log files under the users’ home directories, but the log files are owned by shiny and only readable by shiny. What I’m looking for is a way to have the shiny server run a user’s apps as the user so the apps will be able to access the user’s home directory and also create logs files owned by the user. Thanks for any help.


Hi, that’s an option set in the Shiny configuration file, it is called run_as, here’s the reference to it in the admin guide:


Thanks a lot for the info. It works!