summaryrefslogtreecommitdiff
path: root/doc/forum/use_withUmask_in_a_property.mdwn
blob: 9ae7d7bac40f68452bbccd805334b73f3a311b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
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?