[Solved] Strange issue with external drive - possibly permis

Archived topics about LMDE 1 and LMDE 2
Locked
trollboy

[Solved] Strange issue with external drive - possibly permis

Post by trollboy »

I use back-in-time to take an hourly snapshot of my data to an external USB 2 drive. When I first boot LMDE (XFCE), back-in-time cannot find it's snapshots folder. If I open Thunar I can see the mounted folder and even navigate in to it and see the files, with read / write access for my user but back-in-time still won't find the folder. I then use Disk Utility to unmount / mount the drive and then back-in-time sees the snapshot folder.

I haven't been able to find a way to get back-in-time to see the drive at boot without this intervention and quite frankly it's frustrating! Can anyone point me in the right direction?

Thanks

TB
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
trollboy

Re: Strange issue with external drive - possibly permissions

Post by trollboy »

In case it helps

mtab: straight after boot

Code: Select all

/dev/sda1 / ext4 rw,errors=remount-ro,commit=0 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/sda6 /home/trollboy/Documents ext4 rw,commit=0 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
cgroup /dev/cgroup/cpu cgroup rw,cpu 0 0
mtab: after opening drive in Thunar

Code: Select all

/dev/sda1 / ext4 rw,errors=remount-ro,commit=0 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/sda6 /home/trollboy/Documents ext4 rw,commit=0 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
cgroup /dev/cgroup/cpu cgroup rw,cpu 0 0
/dev/sdf1 /media/external_ ext4 rw,nosuid,nodev,uhelper=hal 0 0
mtab: after unmounting / mounting

Code: Select all

/dev/sda1 / ext4 rw,errors=remount-ro,commit=0 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/sda6 /home/trollboy/Documents ext4 rw,commit=0 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
cgroup /dev/cgroup/cpu cgroup rw,cpu 0 0
/dev/sdf1 /media/external ext4 rw,nosuid,nodev,uhelper=udisks 0 0
It's sdf1 which is having the problem.
wangsuda

Re: Strange issue with external drive - possibly permissions

Post by wangsuda »

sudo chown -R *log-in name*:*log-in name* /media/*mount point of disk here*

This will give your computer full-time permission to view all files on a mounted disk. Hope this helps.
trollboy

Re: Strange issue with external drive - possibly permissions

Post by trollboy »

Oh man that's embarrassing!

I was replying to your post when something I was about to say about the drive not being mounted at boot, reminded me that I hadn't added it into my fstab yet. Thanks for the whack with the clue stick. I needed that :D

For those who are interested, I added

Code: Select all

/dev/sdf1	/media/external	ext4	defaults,rw,nosuid,relatime
wangsuda

Re: Strange issue with external drive - possibly permissions

Post by wangsuda »

Glad I could help. Everything working OK now?
trollboy

Re: Strange issue with external drive - possibly permissions

Post by trollboy »

Yep - just had a backup taken without any intervention
Locked

Return to “LMDE Archive”