【发布时间】:2014-01-13 20:31:09
【问题描述】:
使用 imagick 时出现以下错误:
Fontconfig error: Cannot load default config file
我的脚本正在运行,但我想解决这个问题(正在填写日志文件)。
操作系统是:
# cat /etc/redhat-release
CentOS release 5.10 (Final)
我正在浏览互联网,这导致了问题:
access("/etc/fonts/fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
文件夹存在:
# ls /etc/fonts/ -all
total 64
drwxr-xr-x 4 root root 4096 Jul 9 2010 ./
drwxr-xr-x 86 root root 12288 Jan 13 00:48 ../
drwxr-xr-x 2 root root 4096 Jan 3 2012 conf.avail/
drwxr-xr-x 2 root root 4096 Apr 14 2013 conf.d/
-rw-r--r-- 1 root root 5239 Jan 12 2008 fonts.conf
-rw-r--r-- 1 root root 6907 Jan 12 2008 fonts.dtd
但是我通过 root 帐户只看到这个文件夹,运行脚本下的其他帐户看不到这个文件夹。权限对我来说看起来不错,但对 linux 的经验并不丰富。
使用脚本运行下的帐户是使用 WHM 创建的。
请帮忙:)
【问题讨论】:
-
我希望,一旦你解决了你的问题,你编辑了这个问题,以包括你正在使用的帐户是一个 chrooted 的事实......没有关于那个的细节正如您清楚地意识到的那样,这个问题非常相关 - 哎呀,这是您问题的原因。建议编辑标题、问题标志...
标签: linux centos whm fontconfig