Marc Blumentritt wrote:
> Ah, OK. Didn't know this. Do you know, why it does work like this?

It initially sets the permissions to 600 presumably to limit access to
an unfinished copy from other users.

The mtime must be set after copying the contents, because adding a file
or directory changes the mtime of the parent.

> And does cp -a work in the same way?

Probably yes, for the same reasons, but I haven't checked.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to