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

Allow group access to lockfile and fix growing or empty timestamp #1213

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Jul 30, 2020

This allows gvmd and ospd-openvas to be run as different users in the same group and stops the timestamp in the lockfile from growing or being cleared when it is already locked.

Checklist:

This allows the lockfile to be shared with users in the same group.
The group write flag allows sharing the lock with other users while
removing the append flag prevents the lockfile growing if it is checked
repeatedly over time.
@timopollmeier timopollmeier marked this pull request as ready for review July 30, 2020 07:52
This prevents the content being overwritten if the file is locked.
@timopollmeier timopollmeier changed the title Allow group access to lockfile and do not append to timestamp file Allow group access to lockfile and fix growing or empty timestamp file Jul 30, 2020
@timopollmeier timopollmeier changed the title Allow group access to lockfile and fix growing or empty timestamp file Allow group access to lockfile and fix growing or empty timestamp Jul 30, 2020
@mattmundell mattmundell merged commit 4fe4638 into greenbone:gvmd-20.08 Aug 3, 2020
@timopollmeier timopollmeier deleted the feed-sync-chmod-20.08 branch October 15, 2021 10:12
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 this pull request may close these issues.

2 participants