summaryrefslogtreecommitdiff
path: root/doc/forum/use_withUmask_in_a_property.mdwn
diff options
context:
space:
mode:
authorgueux2016-06-18 11:52:04 +0000
committeradmin2016-06-18 11:52:04 +0000
commitf33b0948218e7b3d510f6bf37785cda107a630d8 (patch)
tree6d5795d42b0b1b928f3e7bdf57453545b48dab84 /doc/forum/use_withUmask_in_a_property.mdwn
parente5bc08598a44e35c80e2f335974f1f7374fb5e02 (diff)
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?