Skip to content

install corrupts files on eCryptfs filesystems #13240

Description

@sylvestre

Reported downstream: https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2158615

Copying a file with install inside an eCryptfs-encrypted directory produces a truncated/corrupted destination. GNU coreutils works fine on the same path.

Reproduction (inside an eCryptfs directory):

yes foo | dd of=test bs=4K count=16   # 64 KiB
install ./test ./test-install
cmp test test-install                 # differs

Seen on Ubuntu 26.04, amd64, kernel 7.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions