Re: Allow file access to two different domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/24/22 05:45, Zdenek Pytela wrote:


On Sat, Oct 22, 2022 at 9:16 PM Gionatan Danti <g.danti@xxxxxxxxxx <mailto:g.danti@xxxxxxxxxx>> wrote:

    Hi all,
    as one file/dir can have one and only one selinux label, I wonder
    if/how
    one can allow processes from different domains to access the same
    files/dirs.

    I know that for specific executable and directory one can use the
    appropriate bools, for example samba_enable_home_dirs enables smbd to
    read/write home_root_t types. I also know that one can create and
    load a
    custom policy to allow the required access.

    However, I wonder if an easier approach exists to let processes with
    different domains to access the same set of files or directories.

    Any clue?
    Thanks.

What about public_content_t and public_content_rw_t?


--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux