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

Commits on Jul 29, 2020

  1. Add 0660 file permissions in greenbone-feed-sync

    This allows the lockfile to be shared with users in the same group.
    timopollmeier committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    875ba4d View commit details
    Browse the repository at this point in the history
  2. Add group write, remove append for lock functions

    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 committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    1421a5e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Configuration menu
    Copy the full SHA
    837b64c View commit details
    Browse the repository at this point in the history
  2. Open lockfile for input in greenbone-feed-sync

    This prevents the content being overwritten if the file is locked.
    timopollmeier committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    7194481 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b744730 View commit details
    Browse the repository at this point in the history
  4. Use append mode for greenbone-feed-sync lockfile

    Using read mode does not work if the file does not exist.
    timopollmeier committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    7b5c8cc View commit details
    Browse the repository at this point in the history