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

Change log level when chmod fails ? #114

Open
gytisgreitai opened this issue Feb 20, 2018 · 0 comments
Open

Change log level when chmod fails ? #114

gytisgreitai opened this issue Feb 20, 2018 · 0 comments

Comments

@gytisgreitai
Copy link

Hi,

we have a kind of restricted nginx setup (non root both master and workers), so lua-resty-auto-ssl fails chmoding (though) the permissions are ok, and everything works):

nginx: [error] [lua] init_master.lua:56: generate_config(): auto-ssl: failed to create letsencrypt dir permissions: Executing command failed: chmod 777 /etc/resty-auto-ssl/letsencrypt: chmod: /etc/resty-auto-ssl/letsencrypt: Operation not permitted

IMHO this could be changed to warn only:

  • 777 is a bit of overkill (but I understand the simplicity)
  • If this failed, it does not mean that lets encrypt will actually fail

Would you accept a simple PR? Or you think that it's ok as it is?

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