From c546eb5662b67697788d6cea2c35dd50c7804f40 Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Sat, 18 Feb 2023 18:25:42 -0600 Subject: execute binaries on mounted devices --- topics/systems/hpc/octopus-maintenance.gmi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/topics/systems/hpc/octopus-maintenance.gmi b/topics/systems/hpc/octopus-maintenance.gmi index af00d81..1a399c3 100644 --- a/topics/systems/hpc/octopus-maintenance.gmi +++ b/topics/systems/hpc/octopus-maintenance.gmi @@ -42,3 +42,13 @@ So we create a script that can deploy files from octopus01 (head node). Unfortun See /etc/nodes for script and ssh files, sudoers (etc) Basically the root user can copy across. + +## Execute binaries on mounted devices + +To avoid `./scratch/script.sh: Permission denied` on `device_file`: + +- `sudo bash` +- `ls /scratch -l` to check where `/scratch` is +- `vim /etc/fstab` +- replace `noexec` with `exec` for `device_file` +- `mount -o remount [device_file]` to remount the partition with its new configuration. -- cgit v1.2.3