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

populatefs truncate existed regular files #3

Open
kosteltsev opened this issue Oct 13, 2015 · 2 comments
Open

populatefs truncate existed regular files #3

kosteltsev opened this issue Oct 13, 2015 · 2 comments

Comments

@kosteltsev
Copy link

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.

@oskarirauta
Copy link
Collaborator

Thanks again. Patch applied in commit: 95cc98b

@kosteltsev
Copy link
Author

Thank for your work.

I have tested populatefs with these patches. It works properly. I think
this is very helpful utility and populatefs will be used by a lot of
people. (Probably it would be nice to create autoconfigured source code and
release GNU style tarball for all embedded comunity).

Thank you.
Best Regards,
Andrey K.

On Tue, Oct 13, 2015 at 4:32 PM, Oskari Rauta [email protected]
wrote:

Thanks again. Patch applied in commit: 95cc98b
95cc98b


Reply to this email directly or view it on GitHub
#3 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants