-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I created a GH workflow with vmactions/openbsd-vm v1.0.4 to run a job (build of a Rust project on OpenBSD 7.4/stable).
I'm using sshfs to sync files between OpenBSD guest and Ubuntu host (GH runner): sync: sshfs
In a shell script used by my job on OpenBSD guest, I need to change owner/group of files using chown command.
Using the chown command, the run task fails:
Run 'run' in VM
/usr/bin/bash /home/runner/work/_actions/vmactions/openbsd-vm/v1.0.4/run.sh execSSHSH
Config file: openbsd-7.4.conf
chown: /home/runner/work/cargo-nextest-openbsd/cargo-nextest-openbsd/build.sh: Permission denied
(...)
chown: /home/runner/work/cargo-nextest-openbsd/: Permission denied
exec shell: bash run.sh showDebugInfo
/usr/bin/bash
Config file: openbsd-7.4.conf
==================Debug Info====================
/home/runner/work/_actions/vmactions/openbsd-vm/v1.0.4
(...)
Error: The process '/usr/bin/bash' failed with exit code 1
See my workflow logs https://github.com/lcheylus/cargo-nextest-openbsd/actions/runs/7428338886/job/20215523263 for details.
In run.sh script, sshfs runs with some options for files persmissions:
sshfs -o reconnect,ServerAliveCountMax=2,allow_other,default_permissions host:work $HOME/work
Is it possible to change these options to authorize to change owner/group of files from the guest ?
Metadata
Metadata
Assignees
Labels
No labels