I have a SSD that I use for backing up Email and a few other items. I ran into this problem, believe it or not, trying to run an ANACRON job. This job backs up Thunderbird Email folders, etc. every 15 days.
I am not the only user on the computer, so sometimes the other user logs in first of the day and if the ANACRON job that I created (and tested successfully under my ID) is scheduled to run, it tries to run it from the other user's ID. However, it fails to run and the log indicates that no such file exists. When I check access to the SSD for that user (using Dolphin), indeed, the user has no permissions to even see the disk (but it is mounted) and I can't list the contents in the CLI using ls.
This user belongs to a Group (house) that has the requisite permission (rwx
) to use the drive.I verified the permissions with ls -l
and it shows drwxrwxr-x
which is what I want and, just to verify, the owning group is the same group this user belongs to.
In case you wanted to see the /etc/fstab
entry - here it is:
# /dev/sdg1
UUID=29351526-c46d-403c-9d02-04a638131c4c /media/nhl/SSD_BKUP auto auto,exec,rw 0 0
Here is the ls -l
output:
ls -l /media/nhl/SSD_BKUP
total 264
drwxrwxr-x 2 root house 16384 Oct 31 2020 lost+found
drwxrwxr-x 2 nhl house 4096 Sep 29 14:26 tb_bkup
Have I missed something?