problems labeling files

Dominick Grift domg472 at gmail.com
Tue Jul 26 09:25:52 UTC 2011



On Tue, 2011-07-26 at 09:33 +0200, Michael Atighetchi wrote:
> system_u:object_r:CZtp_exec_t:s0
> /home/proxyuser/trunk/aps-base/crumple-zone/target/runSeed.sh regular 
> file       system_u:object_r:CZwd_exec_t:s0

Maybe you have not declared the CZwd_exec_t type properly. Would need to
see your policy to be able to determine that.

Types have properties, For example some types are domain types others
file type, executable file type, port types etc. etc.

Type attributes are used to tell selinux what type it is dealing with.
It is kind of like grouping/classifying/tagging types. Rules are in
place that are specific to various groups of types.

For you to be able to for example relabel a type of a file object, the
type with need to be classified a file type. Because there is a rule
that states that files can only be labelled with file types.

So if you have not classfied your CZwd_exec_t to be a file type then it
may or may not be the cause of this issue.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20110726/49ced400/attachment.bin 


More information about the selinux mailing list