Page 1 of 1

[SOLVED] Backup Tool can't write to external HD

Posted: Thu Feb 07, 2019 10:45 pm
by mchandler
I've got an external (USB) HD and am having trouble with write access/permissions.

I can run Timeshift and save to the ext HD, but when I try to backup my /home directory using Backup Tool, I get the You don't not have permission to write in the selected directory error.

The disk I'm trying to write to is /dev/sdb1.

Code: Select all

mchandler@mchandler-fitlet2:~$ blkid
/dev/sda1: UUID="639C-3488" TYPE="vfat" PARTUUID="4e9c8e05-e23f-41a4-a29e-8dc9bb0e0cc1"
/dev/sda2: UUID="78b35f52-b118-447f-9000-91b69d3f6d41" TYPE="ext4" PARTUUID="9efdd136-8ab6-420c-be18-d2a8119fe800"
/dev/sdb1: UUID="341a4d92-5316-4532-a581-bd28cc9202e8" TYPE="ext4" PARTUUID="19fb1055-01"

mchandler@mchandler-fitlet2:~$ mount | grep sdb1
/dev/sdb1 on /mnt/wwn-0x50000f001afb0a90-part1 type ext4 (rw,nosuid,nodev,relatime,data=ordered,x-gvfs-show)
Disks output:
Screenshot from 2019-02-07 19-38-40.png

Could the problem be that Timeshift runs with elevated privileges and my account doesn't?

Re: Backup Tool can't write to external HD

Posted: Fri Feb 08, 2019 1:38 am
by WharfRat
I don't use that app, but it probably has elevated privileges to access a filesystem owned by root.

Mount the partition to /mnt and sudo chown $USER:$USER /mnt then try to copy a file to it.

Re: Backup Tool can't write to external HD

Posted: Fri Feb 08, 2019 11:12 am
by mchandler
WharfRat wrote:
Fri Feb 08, 2019 1:38 am
I don't use that app, but it probably has elevated privileges to access a filesystem owned by root.

Mount the partition to /mnt and sudo chown $USER:$USER /mnt then try to copy a file to it.
Thanks, I'll give that a try.

Re: Backup Tool can't write to external HD

Posted: Fri Feb 08, 2019 10:42 pm
by mchandler
WharfRat's suggestion fixed the problem.

Thank you!