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

cp: restrict permissions when copying FIFO #4211

Merged
merged 1 commit into from
Dec 4, 2022

Commits on Dec 3, 2022

  1. cp: restrict permissions when copying FIFO

    When copying the contents of a named pipe (also known as a FIFO) via
    
        cp --preserve=ownership --copy-contents fifo fifo-copy
    
    limit the permissions of the destination file while the contents are
    being copied, and then restore the permissions to match those of the
    source FIFO when all contents have been copied successfully.
    jfinkels committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    6167de9 View commit details
    Browse the repository at this point in the history