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

[clean] Respect permissions of sanitised files #3292

Commits on Jun 28, 2023

  1. [clean] Respect permissions of sanitised files

    When copying files we applied a substitution in, we must replace just
    original file content (shutil.copyfile) and not also its stat data
    (shutil.copy).
    
    Resolves: sosreport#3292
    
    Signed-off-by: Pavel Moravec <[email protected]>
    pmoravec committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    719d750 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. [tests] add test for sosreport#3292

    Add a test that cleaner keeps permissions of a sanitised file
    
    Relevant to: sosreport#3292
    
    Signed-off-by: Pavel Moravec <[email protected]>
    pmoravec committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    2fc7da7 View commit details
    Browse the repository at this point in the history