Probably a simple fix, but I'm simpler. Trying to run czkawka (de-duplicator) on a USB 12T external drive and can't get past the 'permission denied' prompt. Is there an ability to attach a 'sudo' to a desktop icon/launcher?
I wouldn't recommend running anything that is meant to delete files with elevated privileges. Let's try to fix the permission issue as that's really the culprit here.
Being an external drive it's probably formatted as NTFS (the filesystem used by Windows) which sometimes does have this type of problem. Are you doing anything special to mount it? If not, you can run this command on the terminal to change the ownership to your own user.
lsblk
This would show all your drives, something like this:
You should be able to identify your own drive based on the name, for example mine it's called "TOSHIBA EXT", which conveniently maps to the name of the folder in the filesystem. We can use that to update the ownership & permissions:
sudo chown -R zenzen:zenzen /median/zenzen/TOSHIBA\ EXT
Note: be mindful of spaces in names of files and folders. You can see that I'm including a
\
followed by a space to account for that. It's best if you just press Tab and let the system autocomplete that for you.
What this command does is change the ownership to your own user (update the username accordingly). That should be enough to make things work, and we can take a look at how to make this permanent later.
I shall give that a try this evening, thank you!