Skip to contentSkip to conversation

Labeling of ~/.local, ~/.config, ... owned by gnome though not gnome specific (Daniel J Walsh)

refpolicy Nicky726 1 participant 1 message Sep 25, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Nicky726

author
#1 lore raw

Dne ?t 23. z??? 2010 19:00:01 Daniel J Walsh napsal(a):

Quoted 9 lines

I think the real solution to this is to put this into the kernel. We need to define rules that says, if I create a directory within a directory labeled user_home_dir_t named .config, the kernel should create it labeled config_home_t.

Any other solution including restorecond is going to be prone to failure.

Similarly we could say if an app create resolv.conf withing etc_t it needs to labeled net_conf_t

Yes that sounds even better.

Ondrej Vadinsky

Signature · 5 lines
Don't it always seem to go
That you don't know what you've got
Till it's gone

(Joni Mitchell)