XDMP-FORESTERR 权限被拒绝
XDMP-FORESTERR Permission Denied
当我尝试在新位置创建森林时出现此错误:
2016-09-09 21:37:42.645 Alert: XDMP-FORESTERR: Error in initialization of forest mlepub-spinning: SVC-FILSTAT: File status error: stat64 '/media/thijs/Forests/mlepubdata/Forests/mlepub': Permission denied
配置应该是什么?即使 chmod 777
也无法解决问题。我以前用过很多次,从来没有遇到过任何问题,也许是 8.0-4.2
?
中的问题
[[编辑]]
父目录
挂载点归 root 所有,此级别的文件夹归 thijs
所有,mlepub 目录归 daemon
所有。此外,我已经使用 chmod 777
从文件夹中删除了任何限制,并且还在没有那些疯狂权限的情况下进行了测试。
[11:06] /media/thijs/Forests
total 28
drwx------ 4 thijs thijs 4096 Sep 12 10:52 .
drwxr-x---+ 3 root root 4096 Sep 12 10:52 ..
drwx------ 2 root root 16384 Nov 12 2015 lost+found
drwxrwxrwx 2 daemon daemon 4096 Sep 12 10:52 mlepub
数据目录
显示对 daemon
的所有可能的权限和所有权,并且父目录由 thijs
.
所有
thijs@Puc
[11:06] /media/thijs/Forests/mlepub
total 8
drwxrwxrwx 2 daemon daemon 4096 Sep 12 10:52 .
drwx------ 4 thijs thijs 4096 Sep 12 10:52 ..
默认情况下,MarkLogic 运行作为用户 daemon
。确保该目录(及其包含的目录)具有读取和执行权限。不执行就不能列出目录的内容。
验证 daemon
(或 MarkLogic 配置为 运行 的任何用户)对路径中的每个目录具有执行权限。可能还需要调整包含文件夹的权限。
...the user needs to have read and execute rights from the root until the
defined location and only write rights on the final location...
当我尝试在新位置创建森林时出现此错误:
2016-09-09 21:37:42.645 Alert: XDMP-FORESTERR: Error in initialization of forest mlepub-spinning: SVC-FILSTAT: File status error: stat64 '/media/thijs/Forests/mlepubdata/Forests/mlepub': Permission denied
配置应该是什么?即使 chmod 777
也无法解决问题。我以前用过很多次,从来没有遇到过任何问题,也许是 8.0-4.2
?
[[编辑]]
父目录
挂载点归 root 所有,此级别的文件夹归 thijs
所有,mlepub 目录归 daemon
所有。此外,我已经使用 chmod 777
从文件夹中删除了任何限制,并且还在没有那些疯狂权限的情况下进行了测试。
[11:06] /media/thijs/Forests
total 28
drwx------ 4 thijs thijs 4096 Sep 12 10:52 .
drwxr-x---+ 3 root root 4096 Sep 12 10:52 ..
drwx------ 2 root root 16384 Nov 12 2015 lost+found
drwxrwxrwx 2 daemon daemon 4096 Sep 12 10:52 mlepub
数据目录
显示对 daemon
的所有可能的权限和所有权,并且父目录由 thijs
.
thijs@Puc
[11:06] /media/thijs/Forests/mlepub
total 8
drwxrwxrwx 2 daemon daemon 4096 Sep 12 10:52 .
drwx------ 4 thijs thijs 4096 Sep 12 10:52 ..
默认情况下,MarkLogic 运行作为用户 daemon
。确保该目录(及其包含的目录)具有读取和执行权限。不执行就不能列出目录的内容。
验证 daemon
(或 MarkLogic 配置为 运行 的任何用户)对路径中的每个目录具有执行权限。可能还需要调整包含文件夹的权限。
...the user needs to have read and execute rights from the root until the defined location and only write rights on the final location...