summaryrefslogtreecommitdiff
path: root/doc/forum/Support_writing_as_owner__63__
diff options
context:
space:
mode:
authorJoey Hess2019-03-17 11:18:57 -0400
committerJoey Hess2019-03-17 11:18:57 -0400
commitfbee580da0f06b3d375c12438858fae25827aab6 (patch)
tree6f683d0a0daac104768bd7d83b3e3b11b6a77240 /doc/forum/Support_writing_as_owner__63__
parente985df8a01949a1353c8d3bc2808bb1ee3dea11c (diff)
comment
Diffstat (limited to 'doc/forum/Support_writing_as_owner__63__')
-rw-r--r--doc/forum/Support_writing_as_owner__63__/comment_1_794b11f84e0dcb29eba36bdfe1220191._comment18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/forum/Support_writing_as_owner__63__/comment_1_794b11f84e0dcb29eba36bdfe1220191._comment b/doc/forum/Support_writing_as_owner__63__/comment_1_794b11f84e0dcb29eba36bdfe1220191._comment
new file mode 100644
index 00000000..8edcefaa
--- /dev/null
+++ b/doc/forum/Support_writing_as_owner__63__/comment_1_794b11f84e0dcb29eba36bdfe1220191._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2019-03-17T15:13:20Z"
+ content="""
+If propellor could fork and then setuid, that would allow this. But..
+
+* forking is problimatic in haskell since the RTS state gets shared
+ and bad things happen
+* the result of the setuid action would need to be communicated back to the
+ main process somehow
+
+The other way would be to re-exec propellor as the user
+with a parameter that somehow tells it what action to run. But I don't know
+a general way to do that, without some way to name the property.
+(A problem which has also complicated some other parts of propellor eg
+running inside chroots.)
+"""]]