在无效组名

时间:2018-03-06 22:52:04

标签: r shiny shiny-server

我有一个在本地工作的闪亮应用程序,但Shiny Server中存在的版本崩溃了。当我尝试读取日志时,它被分配给组" 2111"如下面的最后一行所示。问题是我们的系统中没有名称为" 2111,"它是无效的,我得到了'#34;许可被拒绝"当我试图访问它时。对于每个文件,我的系统管理员可以更改权限,以便我可以读取它们,但是使用无效组" 2111"创建任何新文件。我必须经历权限再次更改的过程。

-rw-r----- 1 shiny hadoop 199 Oct  9 12:40 hello-shiny-20171009-124038-50604.log
-rw-r----- 1 shiny hadoop 199 Nov 13 17:44 hello-shiny-20171113-174423-34160.log
-rw-r----- 1 shiny hadoop 199 Nov 21 16:11 hello-shiny-20171121-161157-31691.log
-rw-r----- 1 shiny hadoop 199 Oct  9 12:27 prediction-shiny-20171009-122742-3223.log
-rw-r----- 1 shiny hadoop 198 Jan  3 11:47 prediction-shiny-20180103-114746-18552.log
-rw-r----- 1 shiny hadoop 198 Jan 16 12:33 prediction-shiny-20180116-123306-21825.log
-rw-r----- 1 shiny   2111 198 Jan 23 18:33 prediction-shiny-20180123-183308-33001.log

如何阻止在无效组" 2111下制作日志文件?"

作为参考,这是/etc/shiny-server/shiny-server.conf的内容

# Instruct Shiny Server to run applications as the user "shiny"
run_as :HOME_USER: shiny;

# Define a server that listens on port 3838
server {
  listen 3838;

  # Define a location at the base URL
  location / {

# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;

# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;

# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
}
}

0 个答案:

没有答案