Error In File Io Code 11 At Main.c576
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top normal user to rsync between two systems as root up vote 0 down vote favorite How can I change the user permissions so that the user will be able to rsync between two systems as a root. I added the user in visudo. paru ALL = NOPASSWD: /usr/bin/rsync then I typed the rsync command in 1 system to push data from one server to another rsync -avP /opt/paru/ paru@105.1.167.412:/opt/paru when I rsync, it gives me the following error: sending incremental file list rsync: mkdir "/opt/paru" failed: Permission denied (13) rsync error: error in file IO (code 11) at main.c(576) [receiver=3.0.6] rsync: connection unexpectedly closed (9 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6] What should I do so that user paru can rsync between the two systems as a root? linux permissions rsync root share|improve this question edited Apr 14 '15 at 10:34 asked Apr 14 '15 at 8:17 pjs 33 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I just had this problem trying to backup to rsync.net. They told me that the last part, after the colon ":", should be a local pathname. rsync -avP /opt/paru/ paru@105.1.167.412:/opt/paru becomes rsync -avP /opt/paru/ paru@105.1.167.412:opt/paru share|improve this answer answered Jan 25 at 10:29 marklark 1207 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged linux permissions rsync root or ask your own question. asked 1 year ago viewed 282 times active 8 months ago Related 1Sharing configuration (.*rc files) between a normal user account and root9What is different between root and sudo?0Linux and the Mysterious Case of Vanishing (and Reappearing) Directories-1How to make a non-root user to use chown for any user group files?1Control rsync user and grou
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie [SOLVED] File Backup User Name Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple http://superuser.com/questions/901324/normal-user-to-rsync-between-two-systems-as-root and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit http://www.linuxquestions.org/questions/linux-newbie-8/file-backup-4175442999/page2.html this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 2 of 2 < 1 2 Search this Thread 01-06-2013, 12:41 AM #16 lleb Senior Member Registered: Dec 2005 Location: Florida Distribution: CentOS/Fedora Posts: 2,630 Rep: you might try something a bit more complicated, but in the end it is a simple command: Code: ### Setting Variables ##################################### dtstamp="`date +%F-%A-%H.%M.%S `" dow=`date +%A` HOMEDIR="$HOME" PWD=`pwd` log=${PWD}/logs/`date +%Y-%m-%d-%A`-rsync.log RUSER=user RHOST=your_location RDIR=/home/user ### Checking for logs directory, if not there then create it ##################################### [ ! -d "${PWD}/logs" ] && mkdir -p ${PWD}/logs >> /dev/null 2>&1 #rsync -aviS /
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > http://forums.fedoraforum.org/showthread.php?t=271424 Fedora 23/24 > Using Fedora rsync error FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag error in Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 26th October 2011, 07:49 AM JoeNapoleon Offline Registered User Join Date: Oct 2011 Location: Wuhan , China Posts: 22 rsync error how are you. when I use rsync to backup my data /home/joe , it shows error rsync -azv -e ssh /home/joe 192.168.8.181:/mnt/backup/homes/ root@192.168.8.181's error in file password: after I enter the password, it shows error like this: rsync: readlink_stat("/home/joe/.gvfs") failed: Permission denied (13) rsync: mkdir "/mnt/backup/homes" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(576) [receiver=3.0.6] rsync: connection unexpectedly closed (9 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8] how can I solve this problem, thank you. JoeNapoleon View Public Profile Find all posts by JoeNapoleon #2 26th October 2011, 09:43 AM vasile002 Offline Registered User Join Date: Oct 2011 Posts: 52 Re: rsync error The /home/joe/.gvfs is mounted with special permissions which makes it unavailable for reading. You need to either exclude the file or unmount it: Code: umount /home/joe/.gvfs To exclude the file from copying you need to add this flag to the rsync command: Code: rsync -azv --exclude=/home/joe/.gvfs -e ssh /home/joe 192.168.8.181:/mnt/backup/homes/ fedora development Last edited by vasile002; 6th October 2012 at 04:40 AM. vasile002 View Public Profile Find all posts by vasile002 Tags error, rsync « Previous Thread | Next Thread » Thread Tools Sh