tarka / xcp

An extended `cp`
GNU General Public License v3.0
715 stars 24 forks source link

Can xcp keep file uid/gid? #55

Open plusls opened 1 month ago

plusls commented 1 month ago

Can xcp keep linux file uid/gid?

tarka commented 2 weeks ago

Not currently, but it could be added. Presumably you mean when running as root? Usually it is not possible to copy UID/GID from a different user unless you are running as root (or have and equivalent capability/acl).

plusls commented 1 week ago

Not currently, but it could be added. Presumably you mean when running as root? Usually it is not possible to copy UID/GID from a different user unless you are running as root (or have and equivalent capability/acl).

I just want to backup files with user permission and extra ACL attr.