diff --git a/dex2oat.te b/dex2oat.te
index 58fcef8e4f3c1ced4a174ddafda78a6e72b6859a..abdacebe8df38eeb439fa3d04980c13deeb76938 100644
--- a/dex2oat.te
+++ b/dex2oat.te
@@ -15,7 +15,7 @@ allow dex2oat asec_apk_file:file read;
 allow dex2oat unlabeled:file read;
 allow dex2oat oemfs:file read;
 allow dex2oat apk_tmp_file:file read;
-allow dex2oat user_profile_data_file:file {read lock};
+allow dex2oat user_profile_data_file:file { getattr read lock };
 
 ##################
 # A/B OTA Dexopt #