fix #980,update layouts permissions after importing
--in some systems that layouts are readonly when copied to user "latte" directory were still read-only. We are fixing these permissions with this patch.