在nfs上的脚本可执行路径上有80个字符限制

时间:2015-07-23 19:46:37

标签: linux nfs

在RHEL6.2上,

具有超过80个字符长度的nfs可执行文件路径的脚本无法执行,因为路径被截断。

例如,

脚本test.sh

#!/path/to/something/executable/that/is/more/than/80/chars/fails
echo "test"

被截断为:

#!/path/to/something/executable/that/is/78/chars

使用相同的可执行文件可以很好地运行小型nfs路径。

0 个答案:

没有答案
相关问题