summaryrefslogtreecommitdiff
path: root/doc/forum/use_withUmask_in_a_property.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/use_withUmask_in_a_property.mdwn')
-rw-r--r--doc/forum/use_withUmask_in_a_property.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/use_withUmask_in_a_property.mdwn b/doc/forum/use_withUmask_in_a_property.mdwn
new file mode 100644
index 00000000..9ae7d7ba
--- /dev/null
+++ b/doc/forum/use_withUmask_in_a_property.mdwn
@@ -0,0 +1,12 @@
+I'm trying to combine the following two properties:
+
+ propertyList "generate new key file" $ props
+ & cmdProperty "openssl"
+ [ "genrsa"
+ , "4096"
+ , "> " ++ key
+ ]
+ `assume` MadeChange
+ & key `File.mode` combineModes [ownerReadMode, ownerWriteMode]
+
+I've tried to use withUmask, without success. Is there a way to do that?