Skip to content

Conversation

actboy168
Copy link
Contributor

Reproduce:

    fs::path file1("temp1.txt");
    fs::path file2("temp2.txt");
    fs::permissions(file1, fs::perms::none);
    fs::permissions(file2, fs::perms::owner_write);
    fs::copy_file(file1, file2, fs::copy_options::overwrite_existing);
    assert(fs::status(file2).permissions() == fs::perms::none);

@gulrak gulrak added this to the v1.5.14 milestone Jun 15, 2022
@gulrak gulrak added the bug Something isn't working label Jun 15, 2022
@gulrak
Copy link
Owner

gulrak commented Mar 3, 2023

Thank you for the PR and sorry for the delay.

@gulrak gulrak merged commit 3afbd9c into gulrak:master Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants