Re: SELinux Permission for download a file.

Jason Long <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
SELinux denial? How?






On Wednesday, October 7, 2020, 07:51:02 AM GMT+3:30, ITwrx <[email protected]> wrote: 





On 10/6/20 3:31 PM, Jason Long wrote:

> Hello,
> I created a file under of my root website and when I want to download it then:
>
> # wget https://URL.com/file.txt
> --2020-10-06 23:53:22--  https://URL.com/file.txt
> Resolving URL.com (URL.com)... 80.253.145.77
> Connecting to URL.com (URL.com)|80.253.145.77|:443... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2020-10-06 23:53:22 ERROR 403: Forbidden.
>
> The SELinux label of file is:
>
> -rwxr-xr-x.  1 apache apache unconfined_u:object_r:user_home_t:s0          95849 Oct  6 23:51 file.txt
>
> How can I solve it?
>
> Thank you.

> _______________________________________________
> selinux mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]

you're not showing a selinux denial in what you've posted, so maybe it's
just your normal file perms, apache config, etc and not selinux at all?
_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.