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

Create temporary files to be shared between uses in /tmp #4500

Merged
merged 1 commit into from
Jul 14, 2023

Commits on Jul 14, 2023

  1. Create temporary files to be shared between uses in /tmp

    Some commands need to be executed as the pki user and not
    root to retain filesystem permissions. There are a few
    places where passwords are written to files as root to be
    passed into commands executed by pkiuser.
    
    If a private temporary directory is set before pkispawn
    is called then this method for sharing passwords between
    users will not work because the file will be unreadable.
    
    So force these calls to use /tmp directly instead of the
    private temporary directory.
    
    Fixes: dogtagpki#4475
    
    Signed-off-by: Rob Crittenden <[email protected]>
    rcritten committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    dce4a1a View commit details
    Browse the repository at this point in the history