symfony:获取错误/ usr / local / bin /:资产:转储中的权限被拒绝

时间:2017-10-30 07:14:41

标签: symfony less assetic linuxmint symfony-3.2

我的资产配置是:

assetic:
debug:          '%kernel.debug%'
use_controller: false
filters:
    less:
     node: /usr/local/bin/
     node_paths: [/usr/local/lib/node_modules]
     apply_to: '\.less$' 

当我运行命令bin/console assetic:dump时,我收到以下错误:

[Assetic\Exception\FilterException]
An error occurred while running:
'/usr/local/bin/' '/tmp/assetic_lessgyMQtZ'
Error Output:
sh: 1: /usr/local/bin/: Permission denied

0 个答案:

没有答案