'jekyll 2.4.0 | 错误:权限被拒绝 - /sys/fs/ext4/sda1/trigger_fs_error' 是什么意思

'jekyll 2.4.0 | 错误:权限被拒绝 - /sys/fs/ext4/sda1/trigger_fs_error' 是什么意思

我正在尝试使用 Jekyll 运行自定义 GitHub 页面,但每次运行时bundle exec jekyll serve都会出现以下错误:

jekyll 2.4.0 | 错误:权限被拒绝 - /sys/fs/ext4/sda1/trigger_fs_error

这是我迄今为止尝试过的:

USERNAME@USERNAME:/var/www/newos$ bundle exec jekyll serve
Configuration file: /var/www/newos/_config.yml
            Source: /
       Destination: /var/www/newos/_site
      Generating... 
jekyll 2.4.0 | Error:  No such device or address - /tmp/OSL_PIPE_1000_-90244180
USERNAME@USERNAME:/var/www/newos$ rm /tmp/OSL_PIPE_1000_-90244180
USERNAME@USERNAME:/var/www/newos$ bundle exec jekyll serve
Configuration file: /var/www/newos/_config.yml
            Source: /
       Destination: /var/www/newos/_site
      Generating... 
jekyll 2.4.0 | Error:  No such device or address - /tmp/OSL_PIPE_1000_SingleOfficeIPC_e4e524e7c9589de23a66c7b357f6bf82
USERNAME@USERNAME:/var/www/newos$ rm /tmp/OSL_PIPE_1000_SingleOfficeIPC_e4e524e7c9589de23a66c7b357f6bf82
USERNAME@USERNAME:/var/www/newos$ bundle exec jekyll serve
Configuration file: /var/www/newos/_config.yml
            Source: /
       Destination: /var/www/newos/_site
      Generating... 
jekyll 2.4.0 | Error:  No such device or address - /tmp/gpg-qYqBN2/S.gpg-agent
USERNAME@USERNAME:/var/www/newos$ rm /tmp/gpg-qYqBN2/S.gpg-agent
USERNAME@USERNAME:/var/www/newos$ bundle exec jekyll serve
Configuration file: /var/www/newos/_config.yml
            Source: /
       Destination: /var/www/newos/_site
      Generating... 
jekyll 2.4.0 | Error:  Permission denied - /sys/fs/ext4/sda1/trigger_fs_error

答案1

_config.yml应该source列出项目的实际位置

...
source: /var/www/newos
...

是的,愚蠢的错误。

相关内容