the automount-antix uses devmon to provide the automounting of removable media.BitJam wrote: ↑Sat Jun 15, 2019 7:38 pmWhen I boot to X, usb partitions get automounted. Not my cup of tea but so be it. They get mounted with "noexec" which I found inconvenient. Is this needed? Is this the best default? IDK.
BTW: this can be fixed manually with:where $DEV is the device you want to execute programs on.
Code: Select all
sudo mount -o remount,exec $DEV
the defaults do indeed utilize noexec on removable media. we could possible add an option to override that.
Code: Select all
AUTOMOUNT-OPTIONS: (these can be used only in daemon mode) --exec-on-device DEVICE COMMAND Execute COMMAND after mounting DEVICE --exec-on- label LABEL COMMAND Execute COMMAND after mounting LABEL --exec-on-video COMMAND Execute COMMAND after video DVD mount --exec-on-audio COMMAND Execute COMMAND after audio CD insertion --exec-on-disc COMMAND Execute COMMAND after data CD/DVD mount --exec-on-drive COMMAND Execute COMMAND after drive mount --exec-on-unmount COMMAND Execute COMMAND after unmount --exec-on-remove COMMAND Execute COMMAND after drive removal Where the following in COMMAND will be replaced with: %d mount point direc‐ tory (eg /media/cd) %f device name (eg /dev/sdd1) %l label of mounted volume Multi‐ ple --exec-on-XXX options may be used to execute multiple commands. Other exec-on-XXX commands are ignored if exec-on-device or -label executed. --mount- options OPTIONS Default: noexec,nosuid,nodev,noatime --info-on-mount Show mounted drive info in a popup dialog --no-mount Don't mount anything, just exec (disables --exec-on-video) --no-unmount Don't unmount all removable drives on exit