[Discuss] problem

Derek Atkins derek at ihtfp.com
Sun Jan 1 17:40:12 EST 2023


Hi,

On Sun, January 1, 2023 5:16 pm, dan moylan wrote:
>
> derek atkins writes:
>>> dan moylan wrote:
>>> i parked a file on my website for pickup by a friend, but when i try
>>> to access it for download i get:
>>>   You don't have permission to access this resource
>>> the directory is 755 and the file 644.  what's the secret?
>
>> Is SELinux blocking it?
>> You didn't specify distro.
>
> my local site is fc37 where selinux is disabled and the file
> can be accessed and downloaded from the local website.
>
> my remote website is on bluehost, and i don't have access to
> /etc/selinux there.

What do you get from:

ls -lZ /path/to/file

What happens if you try:

restorecon /path/to/file

-derek

>
> ole dan
>
> j. daniel moylan
> 84 harvard ave
> brookline, ma 02446-6202
> 617-777-0207 (cel)
> jdm at moylan.us
> www.moylan.us
> [BLM]
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the Discuss mailing list