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

The generated config files permission are too open #257

Open
sixg0000d opened this issue Apr 30, 2021 · 0 comments
Open

The generated config files permission are too open #257

sixg0000d opened this issue Apr 30, 2021 · 0 comments

Comments

@sixg0000d
Copy link

@sixg0000d sixg0000d commented Apr 30, 2021

Feature request

Feature description

The generated and installed config files permission are too open, any user logined on the system can read and write them. So i suggest append a chmod command into Extract tar step to keep config files more safty.

How the feature is useful

like:

tar -xzvf nginxconfig.io-example.com.tar.gz | xargs chmod 0644

the tar xzvf command will return which files it extracted, and then we can use xargs to convert them as arguments to chmod command.

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

Successfully merging a pull request may close this issue.

None yet
2 participants