Hi,

I have defined following file context in file_contexts:

/data/eeprom_data_from_sysprops\.tmp  u:object_r:eeprom_data_file:s0

and following in file.te:

type eeprom_data_file, file_type, data_file_type;

Also I have added following in cpnoui.te ( a new domain defined for an
executable) :


allow cpnoui eeprom_data_file:file create;

Still I get following error:


type=1400 audit(1463139871.920:5): avc: denied { create } for pid=167
comm="sh" name="eeprom_data_from_sysprops.tmp" scontext=u:r:cpnoui:s0
tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0

This indicates that eeprom_data_from_sysprops.tmp file is still not being
as from the domain eeprom_data_file,

Please let me know what could be the problem.

Regards,

Sameer Joshi
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to