[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: dd question, what am I doing wrong?



On Fri, 2009-12-04 at 16:13 -0800, Daniel B. Thurman wrote:
> The problem I have specifically with rsync (or tar, or cp) is that
> it does not save ACLs, file attributes too well, and so on that I
> gave up using it.  Perhaps the problem in this case is not to use
> the -a option but to use the manual options to save everything
> about the files that you can.
> 
> Specifically:
> rsync manual:
> -a, --archive        archive mode; equals -rlptgoD (no -H,-A,-X)
> -H, --hard-links   preserve hard links
> -A, --acls             preserve ACLs (implies -p)
> -X, --xattrs          preserve extended attributes

Do you mean that you've tried these (particularly -A and -X) and they
don't work? If so, have you filed a bug report?

Also, have you looked at [1] wrt copying while maintaining SElinux
contexts?

[1]
http://docs.fedoraproject.org/selinux-user-guide/f10/en-US/sect-Security-Enhanced_Linux-Working_with_SELinux-Maintaining_SELinux_Labels_.html

poc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]