Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on updating SELinux permissions of files in public_html #136

Open
JSpewock opened this issue Apr 16, 2024 · 0 comments
Open
Assignees

Comments

@JSpewock
Copy link
Contributor

If you create a file in your home directory it is given the SELinux security type user_home_t and move it into your public_html directory, this type does not change and forbids you from accessing the file via HTML. You need to change the type of file using chcon to httpd_user_content_t in order for it to be accessed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant