Pcloud - give access only to subfolder

What is the problem you are having with rclone?

I would like to be able to authorize rclone to access only a subfolder, not the whole root, for security reasons.

What I'd like is not an alias, where I give rclone access to the root, and only then it points to a subfolder of my choosing, but rather that it literally sees only a subfolder and its content.

I have tried with root_folder_id, but with no luck: pcloud still gave me access to the whole root (it can be seen in their settings -> linked devices)

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-47-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Pcloud

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[pcloudfolder]
type = alias
remote = testp:

[relfohpcloud]
type = pcloud
token = XXX
hostname = eapi.pcloud.com
username = XXX
password = XXX

[testp]
type = pcloud
root_folder_id = XXX
hostname = eapi.pcloud.com
token = XXX

testp is the one I was trying to limit the scope of.

A log from the command that you were trying to run with the -vv flag

UPDATE: I would like to try setting a dedicated ClientID and see if that does the job. In fact, I noticed that if I use rclone in different applications pointing at the same pcloud account, the "linked application" is always only one, despite there being multiple instances.

As of now I cannot test this because the service for generating new applications is down. As soon as it is restored, I am planning on testing the use of multiple ids.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.