I'm uploading a file (ssh_key) with a FileUpload element, in my Resource.
However, I would like to make sure the permissions for the uploaded file are 0600, but I'm not being able to do so with "afterStateUpdated" method, which I though was the way to go, like this: