Rclone Sync Fails on /Volume

What is the problem you are having with rclone?

failed to open directory "": open /Volumes/El Jaguar: operation not permitted
2022-08-01 17:02:06 ERROR : B2 bucket ElJaguar: not deleting files as there were IO errors

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

rclone v1.59.0
- os/version: darwin 10.15.7 (64 bit)
- os/kernel: 19.6.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.18.3
- go/linking: dynamic
- go/tags: cmount

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

Backblaze

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

sudo rclone sync --fast-list --progress --stats-one-line --transfers 32 --verbose /Volumes/El\ Jaguar/ b2:ElJaguar

The rclone config contents with secrets removed.

[b2]
type = b2
account = account
key = key

A log from the command with the -vv flag

2022-08-01 17:24:48 ERROR : : failed to open directory "": open /Volumes/El Jaguar: operation not permitted
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting files as there were IO errors
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting directories as there were IO errors
2022-08-01 17:24:48 ERROR : Attempt 1/3 failed with 2 errors and: not deleting files as there were IO errors
2022-08-01 17:24:48 ERROR : : failed to open directory "": open /Volumes/El Jaguar: operation not permitted
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting files as there were IO errors
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting directories as there were IO errors
2022-08-01 17:24:48 ERROR : Attempt 2/3 failed with 2 errors and: not deleting files as there were IO errors
2022-08-01 17:24:48 ERROR : : failed to open directory "": open /Volumes/El Jaguar: operation not permitted
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting files as there were IO errors
2022-08-01 17:24:48 ERROR : B2 bucket ElJaguar: not deleting directories as there were IO errors
2022-08-01 17:24:48 ERROR : Attempt 3/3 failed with 2 errors and: not deleting files as there were IO errors
0 B / 0 B, -, 0 B/s, ETA -
2022/08/01 17:24:48 INFO  :           0 B / 0 B, -, 0 B/s, ETA -
2022/08/01 17:24:48 Failed to sync with 2 errors: last error was: not deleting files as there were IO errors

So, I'm running the above command from the terminal. When I pick a file or folder from a folder outside of volumes (on the desktop for example) this works fine, but /Volumes/anything is causing an issue.

I've tried setting permissions on the drive by using chmod -x but I'm not allowed to do that either. I think this is a simple permissions issue but I'm not sure how to get around it... I don't spend much time with shell scripts or command line :frowning:

Sorry if this is a silly post and I appreciate your time.

hello and welcome to the forum,

can you post the the entire debug log?

and might be safer to test using something like this, not rclone sync
rclone ls "/Volumes/El Jaguar" -vv --retries=1 --low-level-retries=1

Thank you for the quick response.

I have edited the post above to include the rest of the log.

Also, using your command, I get a similar problem (but I like that you can use quotes to avoid the backslash needed for spaces, I didn't know about that so thank you for teaching me).

Here is the output from your command, which differs slightly.

2022/08/01 18:01:18 DEBUG : Creating backend with remote "/Volumes/El Jaguar/"
2022/08/01 18:01:18 DEBUG : Using config file from "/Users/productionroomc/.config/rclone/rclone.conf"
2022/08/01 18:01:18 ERROR : : failed to open directory "": open /Volumes/El Jaguar: operation not permitted
2022/08/01 18:01:18 DEBUG : 4 go routines active
2022/08/01 18:01:18 Failed to ls: failed to open directory "": open /Volumes/El Jaguar: operation not permitted

going forward, if you post the entire debug log, not just a snippet that would be helpful.

and from that same command prompt, can you run linux command
ls "/Volumes/El Jaguar"

Roger that. The output from that command is:

ls: El Jaguar: Operation not permitted

well, does not look like a rclone issue.

perhaps
https://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/

I suspected it was some type of permission error that was coming up when using rclone. I will look into this and get back to you.

Thanks for the help and suggested article!

This solved the problem. Thank you so much.