Error In File Io Code 11 At Main.c
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Rsync fails to create certain folders. Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: Rsync fails to create certain folders. Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 19th, 2011 #1 Trapper View Profile View Forum Posts Private Message Gee! These Aren't Roasted! Join Date Feb 2007 Location Sebring, Florida USA Beans 184 Rsync fails to create certain folders. I am having a curious problem with an rsync script. Although I could opt to just back up my complete home folder, I choose to be selective and only backup what I would actually need if a hard drive disaster occurred. I am having difficulty backing up properly when I back up files in a subfolder but no files from the base folder the subfolder is under. Rsync refuses to create the base folder in the backup target partition and therefore will not create the subfolder and files either. Here's an example. It's my ".config" folder. There are a number of subfolders but I am only interested in backing up the "transmission" subfolder. My line for that in my script is this: Code: rsync -arv /home/trapper/.config/transmission/ /media/RSYNC-Backup/trapper/.config/transmission/ When I run it I get this error message: Code: rsync: mkdir "/media/RSYNC-Backup/trapper/.config/transmission" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(595) [Receiver=3.0.7] 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.7] However, this works and creates the .mozilla folder and it's entire contents, including subfolders & all subfolder files, at the backup target. Code: rsync -arv /
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 https://ubuntuforums.org/showthread.php?t=1670723 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 http://superuser.com/questions/901324/normal-user-to-rsync-between-two-systems-as-root 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? B
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 https://stackoverflow.com/questions/11123189/cocos2d-v2-x-failing-to-install-templates-permission-denied-am-i-doing-somet this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error in Cocos2d v2.x, failing to install templates.. permission denied. Am I doing something stupid? up vote 11 down vote favorite 4 I would like to clarify this issue. I had installed Cocos2d 1.01 rc on my iMac, with XCode 4.3 installed, and I have now dowloaded v2.0 and wanted to install the templates (following the official guide). Unfortunately the terminal gives me permission denied error in file messages on trying this operation. I thought all I needed to do was a "sudo su" command and then a chmod and that's what I tried to do: sudo su chmod -R 0777 /Users/xxx/Library/Developer/Xcode/Templates/* The result of this is which seems fine to me (read, write and execute on all subdirectories of Templates): ls -l /Users/xxxx/Library/Developer/Xcode/Templates/ total 0 drwxrwxrwx 4 root staff 136 20 Giu 17:30 File Templates drwxrwxrwx 19 root staff 646 15 Mar 15:14 cocos2d But when I install the templates I get the following, which I don't quiet get.. It say "DONE!" but there are several errors in the terminal that say that was not possible to create directories because of permission (even if they all seem to have r,w,x set). Also, well I try to create an empty Cocos2d project via XCode (after rebooting XCode) the cocos2d.m still shows version v1.0.1. For clarity here is the log from terminal after attempting to install the templates (I am a bit lost): ./install-templates.sh -f cocos2d-iphone template installer Installing Xcode 4 cocos2d iOS template ---------------------------------------------------- ...creating destination directory: /Users/xxx/Library/Developer/Xcode/Templates/cocos2d v2.x/ mkdir: /Users/xxx/Library/Developer/Xcode/Templates/cocos2d v2.x: Permission denied mkdir: /Users/xxx/Library/Develop