Upload files from cloud to local app

What is the problem you are having with rclone?

I have problem with uploading file that are in my cloud storage into an external application (for example browser), or sometimes open file directly from the application and not from file manager. When I try, it shows me the following output:
Impossible to read the content of folder. Error opening directory: Permission denied

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

rclone v1.65.0-DEV

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 6.2.0-37-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: none

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


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

2023/12/06 10:28:45 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
; empty config
### Double check the config for sensitive info before posting publicly

Good start but you forgot to mention how you are uploading these files... what is rclone command causing issues?

I don't write any code, it happens when I try to upload a file from a web page or from the upload file button in the application

sorry - maybe I do not understand but then what rclone has to do with your issue?

post some screenshots maybe? It can be just me but I have no clue what you are doing.

If I copy the remote folder in Desktop I can upload files while if I try to upload directly from remote folder it shows the error. I think that it should work at same way, no matter where files are located.
For example I try to upload an image in my remote folder in this textbox, and I get the following error.

Maybe somebody can understand what you are talking about....

As I said if you post some screenshot maybe it will become clear what e.g. "remote folder in Desktop" is. And what it has to do with rclone...

it is the same when I try to open file located into my drive folder directly in an external application (for example open file button)

what are you using rclone for? and how? do you use maybe rclone mount???

I'm using rclone for storing file in OneDrive. Yes I'm using rclone mount

Uffff... we are getting somewhere:)

What is your rclone mount command?

I mount rclone at boot using systemd with the following command:

Description=Rclone OneDrive Mount

ExecStart=/home/salvatore/rclone/rclone \
--config /home/salvatore/.config/rclone/rclone.conf \
mount OneDrive: /home/salvatore/OneDrive \
--vfs-cache-mode writes \


1 Like

Have a look into /etc/fuse.conf file and make sure that line containing user_allow_other is uncommented.

Ok it was commented and now not anymore, but the problem still exists

You have to restart your mount.

If still does not work then stop it and run from command line:

$ rclone mount OneDrive: /home/salvatore/OneDrive --allow-other -vv

and post output here

The mount will not start if that was configured and the comment was there.

It woudln't start if not configured. Something still isn't being communicated clearly.

How can I restart the mount?

restart your service - or restart your computer. You can google later how to restart services.

ok I've restarted the computer but it doesn't work

Stop the mount and post output of:

rclone mount OneDrive: /home/salvatore/OneDrive --allow-other -vv

Here some reading:

In short to stop service:

sudo systemctl stop NameOfYourService