Re: rsync question?

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

 



On 23Jun2020 11:57, bruce <badouglas@xxxxxxxxx> wrote:
>Ok...
>More testing..
>Opened up the dir perms to 775 -- just to see if this was/is an issue.

You'd get a permission error if that were the issue. (There are 
scenarios where permissions can produce no-such-file-or-dir, but they 
are to do with not being able to read things, not not being able to make 
things.)

I just wrote a long message about debugging this, but on reflection I 
think your --rsync-path command isn't even starting. I believe, because 
the target directory is a local path, that rsync is trying to make it 
itself, _before_ running the --rsync-path command for the sync itself.  
And that fails because it is doing a plain mkdir(), which does not make 
intermediate paths.

To test, run the same command without the --rsync-path and get the same 
error message.

_If_ you're really doing this locally, do the mkdir -p outside rsync, 
beforehand.

However, I suspect you intend to make this remote soon, otherwise why 
bother with --rsync-path at all? So to test that (but using the local 
system as a proxy for your final target), make the final target 
"localhost:/home/.....". That should cause rysnc to require the 
--rsync-path command string as part of the process, so it will run 
without trying to make the directory.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@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