Re: rsync -- permission denied issues

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

 



On 02/09/2018 02:49 PM, bruce wrote:
Doing a test to "clone"/cpy a test vm from a base server to a target server

the user on the base/target server is a basic user.. not in the sudoers file

How do you expect this to work? All the files will be owned by non-root and the system won't work.

from the base server.. the rsync cmd is similar to
   rsync --excludefile='foo.dat' / test_user@1.2.3.4:/

I'm getting a bunch of permission denied/operation denied errs...

Without the actual error messages, it's hard to say what the specific problem is as there are several problems with this. There are many directories that are readable only by root, so those will give you errors on the base side. Unless the target server is empty to start with (which it obviously isn't since you are running things on it), most directories are only writable by root so those will all give you errors as well.

I've turned selinux off on both the base/target server for this process..

Probably unnecessary.

I've thought of iterating through the process and adding to the
exclude file the dirs generating the permission errs..

That will be nearly everything.

Any thoughts on a soln to this?

Also, for legitimate files that are owned by other processes/users
that should be copied. Any thoughts on how to cpy them, without
generating the permission errs?

You can't.  Why don't you just use root to copy?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux