tim@t@yior m@iii@g oii hidde@eieph@@ts@co@uk
2022-Jun-14 14:31 UTC
[R-sig-Fedora] rstudio-server toolbox instructions
Following the instructions at https://cran.r-project.org/bin/linux/fedora/#toolbox-container-based-development I'm trying to run rstudio server in a fedora 36 toolbox. I run the following commands: [toolbox]$ sudo dnf install rstudio-server [toolbox]$ rserver --server-daemonize=0 --auth-none=1 --server-user=$(whoami) but this errors with the following: 2022-06-14T14:29:55.478369Z [rserver] ERROR system error 13 (Permission denied) [path: /var/run/rstudio-server, target-dir: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::createDirectory(const std::string&) const src/cpp/shared_core/FilePath.cpp:842; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:626 Do the instructions need updating or am I missing something obvious? Tim
On Tue, 14 Jun 2022 at 16:33, <tim.taylor at hiddenelephants.co.uk> wrote:> > Following the instructions at https://cran.r-project.org/bin/linux/fedora/#toolbox-container-based-development > I'm trying to run rstudio server in a fedora 36 toolbox. I run the following commands: > > [toolbox]$ sudo dnf install rstudio-server > [toolbox]$ rserver --server-daemonize=0 --auth-none=1 --server-user=$(whoami) > > but this errors with the following: > > 2022-06-14T14:29:55.478369Z [rserver] ERROR system error 13 (Permission denied) [path: /var/run/rstudio-server, target-dir: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::createDirectory(const std::string&) const src/cpp/shared_core/FilePath.cpp:842; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:626 > > Do the instructions need updating or am I missing something obvious?This is kind-of-a hack that used to work, but apparently there are new constraints now, and more options are required to circumvent the default directories. We would need to figure out the new options and maybe provide a wrapper if this becomes too complicated. -- I?aki ?car