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

Permission Issue #39

Open
jx99 opened this issue Jun 7, 2018 · 2 comments
Open

Permission Issue #39

jx99 opened this issue Jun 7, 2018 · 2 comments

Comments

@jx99
Copy link

jx99 commented Jun 7, 2018

I am running Redhat on AWS.
Even after changing server.properties permission to 777, i am getting this error:


Warning: file_put_contents(/var/lib/minecraft/servers/default/server/server.properties): failed to open stream: Permission denied in /var/lib/minecraft/web/include/libs/properties.php on line 157
Failed to save server.properties. The web server user probably doesn't have permission to write that file.
@Thue
Copy link
Owner

Thue commented Jun 7, 2018

Did you follow this instruction from the readme?

You also need to set "SELINUX=permissive" in /etc/sysconfig/selinux

@jx99
Copy link
Author

jx99 commented Jun 7, 2018

Yes, I found it the issue. It was SELINUX. When I disable it, it works fine now.

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

2 participants