Why can not user_t link var_lib_t files?

Daniel J Walsh dwalsh at redhat.com
Wed May 20 13:08:25 UTC 2009


On 05/19/2009 02:50 PM, Göran Uddeborg wrote:
> Daniel J Walsh writes:
>> What directory is this file in?
>
> /var/lib/TV/movie.
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
So this is probably a location users are expected to be able to write to?

If yes you could set the context to user_home_t

# semanage fcontext -a user_home_t '/var/lib/TV(/.*)?'
# restorecon -R -v /var/lib/TV

This tells SELInux all your users can use this directory tree.




More information about the fedora-selinux-list mailing list