Skip to content

[Bug]: Folder permissions being reset #961

@StoneCut

Description

@StoneCut

DO NOT REPORT VULNERABILITIES HERE!

  • By checking this box I am confirming this issue is NOT a vulnerability.

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

For CIS compliance reasons, we removed the "w" bit for "others" on the following folders:
/opt/cronicle/queue
/opt/cronicle/logs/jobs

However, after a restart or when some tasks are run, these permissions are apparently reset to be world writable.
Is there any reason for this? Is this a configuration issue on our end? Can it be fixed, maybe in code? We even tried working around this by applying a sticky bit but that gets reset, too.

Operating System

RHEL 9.6

Node.js Version

16.20

Cronicle Version

0.9.80

Server Setup

Single Server

Storage Setup

Local Filesystem

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions