fedora-selinux / selinux-policy

selinux-policy for Fedora is a large patch off the mainline
GNU General Public License v2.0
156 stars 157 forks source link

Change the directory .speech-dispatcher to .cache/speech-dispatcher #2097

Open gordonwwang opened 2 months ago

gordonwwang commented 2 months ago

In the early days of submission ( https://github.com/fedora-selinux/selinux-policy/commit/38d0c7f10b521186fad1d52c664fe585db080d1d ), treat ~/.speech-dispatcher as the working directory for speech-dispatcher. However, based on the recent documentation for speech-dispatcher, it seems that the default directory is "~/.cache/speech-dispatcher/". doc link:https://htmlpreview.github.io/?https://github.com/brailcom/speechd/blob/master/doc/speech-dispatcher.html#Running-Under-Ordinary-Users-1 image

So I would like to discuss with you whether the directory in the userdom_filetrans_home_content function should be adjusted accordingly. As shown in commit:https://github.com/fedora-selinux/selinux-policy/pull/2098

gordonwwang commented 2 months ago

This issue has been replaced by https://github.com/fedora-selinux/selinux-policy/issues/2100. issue #2100 detailed tells the story of AVC researched - the dispatcher to refuse.