Context: I'm playing with Python and Shell script trying to create a simple app to run with dmenu to mount/unmount drives.
My problem currently is in the fact that the command to mount the drive is in the shell script file, and this command requires root permission to run.
The part where things go wrong is precisely this one:
mount ${DRIVE} ${DESTINATION}
I've done a bit of research and most answers to the "run mount without sudo" issue point to editing the fstab file and manually add the disks.
I would like to know if there is another way, without making the user edit system files/configurations. Or at least get this configuration done automatically.