Skip to content

populatefs truncate existed regular files #3

@kosteltsev

Description

@kosteltsev

Expected behaviour:

If file exists in the source directory (option -d) and in the device table the new owner and permissions are set. Then populatefs only changed uid,gid and permissions!!

Real bbehaviour:

Populatesf truncate exist file if new owner. permissions are described in the device table!

To fix this issue according to expected behaviour (wich we have in the genext2fs) I suggest the patch "populatefs-1.0-notrunc-rfiles.patch". The patch is attached to the ticket #14770 [https://dev.openwrt.org/ticket/14770].

Best Regards,
Andrey K.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions