use old set_permissions

https://github.com/walter79/leo_cm11_patches

https://github.com/walter79/leo_cm11_patches/blob/cm-11.0/use_metadata.patch