rtcds: add function for setting target dir permissions and ownership
Add a command that cleans up ownership and write permissions in the /opt/rtcds/... directories. Ownership should be controls or advligorts, group should be controls or advligorts, any file with owner write permissions should have group write permissions.