使用 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` 查看。

## Proton Drive & rclone 在 Linux 上:喜忧参半 一则 Hacker News 讨论围绕着使用 rclone 在 Linux 上挂载 Proton Drive,强调了潜在问题和替代方案。虽然 Proton Drive 提供隐私保护,但用户报告称经常遇到 API 速率限制,尤其是在使用 Proton 的 VPN 或其他云服务提供商时,并且缺乏官方 rclone 支持——兼容性经常因 API 变更而中断。一些用户甚至在最近的问题出现*之前*就难以检索数据。 有人建议使用 Hetzner Storage Boxes 搭配 rclone (大约 $40/20TB) 作为直接替代方案。人们对 Proton 在其产品中对 Linux 的支持表示担忧。 对话还涉及更广泛的主题:云存储的成本与自托管(包括 NAS 和 VPN 等选项)的对比,离线备份的重要性,以及端到端加密和元数据泄露的挑战。 许多用户推荐自托管解决方案,如 Peergos,或使用 restic 和 Hetzner 等服务进行客户端加密。 有些人对该项目的起源表示怀疑,认为可能存在 AI 生成的脚本和可疑的软件包推荐。
相关文章

原文

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