• Webconn Technology
    • GPU Server
      • Dedicated GPU Servers with NVIDIA RTX/A100 GPUs for accelerated AI training, rendering, and scientific computing. Features CUDA cores, 24GB-141GB VRAM, and parallel processing. Pre-configured with TensorFlow/PyTorch.

      • nvidia rtx A6000
    • Dedicated Server
      • Experience blazing-fast speeds & ironclad security with your own dedicated server. No shared resources. Fully customizable plans for gaming, e-commerce, and big data. Start now!

      • datacenter
    • Shared Hosting
      • Get user-friendly DirectAdmin shared hosting for your website. Enjoy an intuitive control panel, one-click app installs, and reliable performance. Perfect for blogs, small business sites, and portfolios.

      • shared hosting web
    • Domains
      • Search and register the perfect domain name for your website. Get a memorable .com, .net, .org or niche TLD to start building your brand online. Includes free privacy protection.

    • VPS
      • Experience the power of a dedicated server without the high cost. Our VPS hosting guarantees CPU, RAM, and storage for your site, ensuring optimal performance and stability.

      • data center
  • Blog
  • Dashboard

How to resolve rsync error: some files/attrs were not transferred

The following error is generated when rsync is run with the -X option (preserve extended attributes)

rsync -axHAX --delete /. /tmp/selinux/.
rsync: rsync_xal_set: lsetxattr("selinux","security.selinux") failed: Permission denied (15)
rsync error: some files/attrs were not transferred (see previous errors) (code 31) at main.c(1039)

To resolve this error, filter the ‘/selinux’ filesystem from the command. Run rsync as below;

rsync -axHAX --delete --filter="- /selinux" /. /tmp/selinux/.

It is suggested to also excluded /var/run, /var/lock, /proc and /dev from rsync command.

 

 

Comments

Leave a Reply