On Tue, 2016-04-12 at 14:33 -0400, Greg Freemyer wrote:
On Tue, Apr 12, 2016 at 2:26 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2016-04-12 18:58, Greg Freemyer wrote:
On Tue, Apr 12, 2016 at 9:02 AM, Carlos E. R. <> wrote:
I'll expand. Will user and group permissions be kept on the backup copy made by a plain user? Or will they be changed to be owned by the user doing the backup?
I believe they are changed, so the answer to my question is "not quite".
Untested, but logically the backup should maintain the correct data assuming the backup tool understands ACLs.
If the backup is somekind of archive, it should work. But if the backup is something like rsync, which creates identical files on the destination, I have my doubts.
note rsync has a "--acls" arg which is supposed to copy the ACLs to the desitination.
But I doubt it would work perfectly if not run as root.
Run rsync as a daemon "The daemon must run with root privileges if you wish to use chroot, to bind to a port numbered under 1024 (as is the default 873), or to set file ownership. Otherwise, it must just have permission to read and write the appropriate data, log, and lock files." It's pretty secure I think. But in any case, the permissions on the backup server are a separate concern to those on the source machine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org