我想下载并安装fuse,我正在关注本教程
下载并编译最新版本的fuse源代码。对于本文,我们使用 fuse 版本 3.5。按照这组命令将编译 fuse 并在内核中添加 fuse 模块。
cd /usr/src/
wget https://github.com/libfuse/libfuse/releases/download/fuse-3.5.0/fuse-3.5.0.tar.xz
我已经执行了上述 2 个命令,但似乎没有奏效 - 输出:
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/48296177/f5f40080-6080-11e9-831e-924025a26137?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190819%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190819T032718Z&X-Amz-Expires=300&X-Amz-Signature=9daad2fc48ac63c665e7bb3c4af49d43b4d9f04170b13e31cd134f8f4bf37c72&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfuse-3.5.0.tar.xz&response-content-type=application%2Foctet-stream [following]
--2019-08-19 03:27:18-- https://github-production-release-asset-2e65be.s3.amazonaws.com/48296177/f5f40080-6080-11e9-831e-924025a26137?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190819%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190819T032718Z&X-Amz-Expires=300&X-Amz-Signature=9daad2fc48ac63c665e7bb3c4af49d43b4d9f04170b13e31cd134f8f4bf37c72&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfuse-3.5.0.tar.xz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.36.188
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.36.188|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1021676 (998K) [application/octet-stream]
fuse-3.5.0.tar.xz: Permission denied
Cannot write to ‘fuse-3.5.0.tar.xz’ (Success).
我看不到任何正在下载的代码:/usr/src
只需将 sudo 放在 wget 之前。
这部分表明您的系统拒绝在 usr/src/ 上写入 fuse-3.5.0.tar.xz,因为您没有权限。