I need to set new permissions on some files in aosp. I am using FileUtils.setPermissions(). But when I make a check using FileUtils.getPermissions I get the same permissions always as "33188" and I want it to be 0777.
How can I do it. BTW I am doin this operation in PacakageManagerService.java.