使用 rclone 和 systemd 在 Linux 上挂载 Proton Drive
Mount Proton Drive on Linux using rclone and systemd

原始链接: https://github.com/dadtronics/protondrive-linux

本指南详细介绍了使用 rclone 和 systemd 在 Linux 上自动挂载 Proton Drive,以实现无缝访问。主要在 Arch Linux 上测试,但可适应大多数发行版。过程包括安装依赖项(fuse3 和 rclone v1.64.0+),在 rclone 中配置 Proton Drive 远程,并使用提供的脚本 (`setup-proton-mount.sh`)。 该脚本会创建一个挂载点 (~/ProtonDrive),设置一个 systemd 用户服务以便在登录时自动挂载,并配置 FUSE 以提供更广泛的访问权限。它还会处理必要的权限,可能将用户添加到 'fuse' 组。 运行脚本后(如果需要更改组,则注销/重新登录),驱动器将自动挂载。可以使用 `systemctl --user status rclone-proton.mount.service` 检查状态。要禁用自动挂载,请使用 `systemctl --user disable --now rclone-proton.mount.service`。日志可通过 `journalctl --user -u rclone-proton.mount.service` 查看。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 使用 rclone 和 systemd 在 Linux 上挂载 Proton Drive (github.com/dadtronics) 20 分,cf100clunk 2 小时前 | 隐藏 | 过去 | 收藏 | 3 条评论 augusto-moura 16 分钟前 | 下一个 [–] rclone 对 Proton Drive 的支持仍在测试版 [1],据我所知,Proton 没有提供访问其 Drive 的官方文档 API。rclone 插件的大部分工作都是通过逆向工程和阅读 Proton 的开源项目代码完成的 [1]: https://rclone.org/protondrive/ bjt12345 5 分钟前 | 上一个 | 下一个 [–] 肯定有更好的技术解决方案来加密云中的数据,从而降低服务恶化的风险? Havoc 17 分钟前 | 上一个 [–] 不错。我刚买了一套他们的服务,这会很有用。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

This guide automates the process of mounting Proton Drive on a Linux system using rclone and systemd.

Tested on Arch Linux, but should work on most Linux distributions with minor adjustments.


  • Mounts Proton Drive at login via systemd --user
  • Uses rclone with --vfs-cache-mode writes for compatibility
  • Enables background service with logging
  • Adds FUSE support for --allow-other mounts

1. ✅ Install Dependencies

Install fuse3 (required for mounting):

Install rclone (must be v1.64.0 or newer)

🔹 Option 1: Use precompiled binary (recommended)

curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
sudo cp rclone /usr/local/bin/
sudo chmod +x /usr/local/bin/rclone

Verify:

rclone version
# Must be v1.64.0 or higher

2. 🔐 Configure Proton Drive Remote

Run:

Follow prompts:

  • n → New remote
  • Name: proton
  • Type: protondrive
  • Log in via browser when prompted
  • Accept and save

Run the provided script:

chmod +x setup-proton-mount.sh
./setup-proton-mount.sh

The script will:

  • Create the mount point: ~/ProtonDrive
  • Write the systemd user service
  • Add user_allow_other to /etc/fuse.conf (if missing)
  • Add user to the fuse group (if needed)
  • Enable and start the mount service

4. 🔁 Reboot or Log Out/In

If the script added you to the fuse group, you must log out and back in for the change to take effect.


Check if Proton Drive is mounted:

Check systemd service:

systemctl --user status rclone-proton.mount.service

To remove the auto-mount setup:

systemctl --user disable --now rclone-proton.mount.service
rm ~/.config/systemd/user/rclone-proton.mount.service

(Optional) Remove ~/ProtonDrive if you no longer need the mount point.


  • setup-proton-mount.sh — full setup script
  • ~/.config/systemd/user/rclone-proton.mount.service — systemd unit
  • ~/ProtonDrive — mount location
  • ~/.cache/rclone/rclone-proton.log — log output (optional)

  • rclone >= 1.64.0 with Proton Drive support
  • fuse3
  • A Proton Drive account

If the mount isn't working:

journalctl --user -u rclone-proton.mount.service

To restart the service manually:

systemctl --user restart rclone-proton.mount.service

联系我们 contact @ memedata.com