**** BEGIN LOGGING AT Mon Sep 26 02:59:56 2022 Sep 26 11:37:04 Hello. I have a (desperate) question which is more linux-related than BBB-related but i've got the first directions from here, so that's why i'm asking here. Sep 26 11:37:04 I have an executable which polls if /dev/sda1 exists, and if true then it calls    system("mount /media/usb"); Sep 26 11:37:05 After an update it now fails, 'cause "permission denied". Sep 26 11:37:05 I can't remember how i gave the binary the permissions, and i cannot understand why it now does'nt have them anymore. Sep 26 11:37:06 The BBB is running a Debian 10 (buster) Sep 26 11:39:47 * an update of the executable, not of the OS Sep 26 14:09:03 Parduz: I don't know what horrid thing you may have done, but I suggest you just add the "users" option for /media/usb in /etc/fstab Sep 26 14:10:26 Parduz: https://andreafortuna.org/2019/06/26/automount-usb-devices-on-linux-using-udev-and-systemd/ Sep 26 14:10:52 that's definitely more elegant Sep 26 14:12:16 tried the systemd way and had a lot of problem Sep 26 14:12:47 'a lot' ... Like? Sep 26 14:13:02 yeah actually, now that I think of it it's not that great a solution, since you also want to be able to unmount it Sep 26 14:13:18 i really need to add the "debian" user in fstab Sep 26 14:13:28 did'nt remember that Sep 26 14:14:40 "a lot" meaning that it was'nt able to survive to every possible combo of "power off" "insert usb dongle" "remove usb dongle" (i have to suppose the final user is like an ork) Sep 26 14:15:05 so in the end it was'nt guaranteed that the USB was ready EVERYTIME you insert it. Sep 26 14:15:13 in my current way it is. Sep 26 14:15:17 thanks a lot Sep 26 14:15:33 (have to flle, but i'll read the log tomorrow if you want to go on) Sep 26 14:15:35 thnx **** ENDING LOGGING AT Tue Sep 27 02:59:56 2022