Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqubes-rpc expected file modes? #2428
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 11, 2016
Member
This instruction is how to create new services. There is legacy feature of files without executable bit set, which are executed through /bin/sh, even when no #!/bin/sh is present.
|
This instruction is how to create new services. There is legacy feature of files without executable bit set, which are executed through |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
Nov 11, 2016
Contributor
Ah, makes sense. I was expecting that the "containing the file name of the program that will be invoked" case would fail in this case, but piping the whole thing through sh makes sense as a reasonable way to implement that behavior.
Thanks for clarifying :)
|
Ah, makes sense. I was expecting that the "containing the file name of the program that will be invoked" case would fail in this case, but piping the whole thing through sh makes sense as a reasonable way to implement that behavior. Thanks for clarifying :) |
jpouellet commentedNov 11, 2016
Qubes OS version (e.g.,
R3.1):R3.2, possibly others
Affected TemplateVMs (e.g.,
fedora-23, if applicable):Everything with qrexec-rpc services (including dom0)
Expected behavior:
From the (current qrexec3 docs)[https://github.com/QubesOS/qubes-doc/blob/cce10079b322f8e898cb2b4e23b48c4886aac4d9/services/qrexec3.md]:
Actual behavior:
The claim that the file must be executable is false:
still works.