fix torch permissions

Change-Id: Ia4a647bb66b2ea6a51e24f08636a1ecb5f7945e1