Skip to content

cp: derivation from gnu cp behavior #14175

Description

@mtvb

Run as privileged user:

touch a ; touch b
chmod 000 b
cp -f a b
stat -c '%a' b

Latest commit coreutils returns mode 644 here, gnu cp mode 000. Already marked as "TODO" in code, pr on its way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions