dduper icon indicating copy to clipboard operation
dduper copied to clipboard

Permission denied error?

Open bshor opened this issue 4 years ago • 3 comments

I installed dduper on my Ubuntu 21.04 system with a BTRFS file system called mounted as /data in /dev/sda1. I'm trying to play around with it on a single directory, but I keep getting permission denied errors.

dduper -p /dev/sda1 --dir /data/G --recurse --dry-run

Tells me ..

ERROR: cannot open '/dev/sda1': Permission denied
unable to open /dev/sda1

Adding sudo in front of dduper doesn't work either.

Any ideas?

bshor avatar Aug 21 '21 15:08 bshor

sudo also didn't help? That's strange. Are you using it from docker or installed it on host itself? Can you provide more info about installation and your server details?

Lakshmipathi avatar Aug 25 '21 02:08 Lakshmipathi

I have this exact issue too. And when I do it with sudo it says:

Traceback (most recent call last): File "/usr/sbin/dduper", line 17, in import numpy as np ModuleNotFoundError: No module named 'numpy'

Probably because it then has other Python session data?

Alseenrodelap avatar Jan 13 '24 13:01 Alseenrodelap

@Alseenrodelap your issue seems like different from OP. I think your sudo environment doesn't have numpy module. You can verify this with something like pip3 list | grep numpy

Lakshmipathi avatar Jan 14 '24 02:01 Lakshmipathi