summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreaGuarracino2023-02-18 18:25:42 -0600
committerAndreaGuarracino2023-02-18 18:25:42 -0600
commitc546eb5662b67697788d6cea2c35dd50c7804f40 (patch)
tree076a5b4b1cdb24a520d670c73ba582dfb0c757d5
parent79a6609a898badf763ca00cf657864b47153fb14 (diff)
downloadgn-gemtext-c546eb5662b67697788d6cea2c35dd50c7804f40.tar.gz
execute binaries on mounted devices
-rw-r--r--topics/systems/hpc/octopus-maintenance.gmi10
1 files changed, 10 insertions, 0 deletions
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.