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

Use chmod and restore original permissions in trap to improve security #51

Closed
epiccurious opened this issue Dec 3, 2023 · 0 comments · Fixed by #52
Closed

Use chmod and restore original permissions in trap to improve security #51

epiccurious opened this issue Dec 3, 2023 · 0 comments · Fixed by #52
Assignees

Comments

@epiccurious
Copy link
Owner

Right now, the script asks the user to manually run sudo chmod in the Terminal. This introduces a security risk, since the elevated permission stays after the script finishes.

To improve security, automate the process of elevating permissions, then restore the original permissions on EXIT.

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

Successfully merging a pull request may close this issue.

1 participant