Hi all,
i had created a new directory in "/data/mydir" and labelled it in the
file_contexts as
/data/mydir(/.*)? u:object_r:my_data_file:s0
in file.te i defined the new type as
type my_data_file, file_type, data_file_type;
in my type enforcement file "myapp.te" i had added the following rule
allow my_app my_data_file:dir create_dir_perms;
allow my_app my_data_file:file create_file_perms;
allow my_app my_data_file:file r_file_perms;
allow my_app my_data_file:file w_file_perms;
all the files are located in device/lge/hammerhead/sepolicy directory
when i try to read a file from /data/mydir i am able to read it, but
when i try to write to that file
i am gettting avc denied error
even i am unable to create a file in that /data/mydir
my seapp_contexts contains
user=_app seinfo=cdac domain=cdac_app type=app_data_file levelFrom=user
Please help me in this issue i am using seandroid 4.4.4 branch
Regards
Harish K
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to
[email protected].