[ruby] Updates Openminds gem repository
Adds permissions resource

This will weaken the permissions of the directory of the given file if it has changed. It will also tighten the permissions again once other resources have ran after permissions were weakened.
[pureftpd] Use improved permissions lwrp instead of using the custom code

The new code will no longer change ownerships of the directory since that is not neccesary. It will only add write access for everyone before writing to the directory. It will also remove that write access again after everything is done.