X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "H.S." Subject: permission denied while deleting the local copy of rsynced data Date: Sat, 03 Dec 2005 21:21:42 -0500 Lines: 69 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, When I get a backup of my Windows XP box running cygwin (CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02 20:30), I get permission denied on many files. Can anybody explain what is going on here? Here are the commands that I used and the output I got: $> rsync -avze ssh --exclude-from=rsync-winbox-windows-excludes.txt winbox:'/cygdrive/c/Documents\ and\ Settings/winuser' /tmp/winbox/windows/ receiving file list ... done winuser/ rsync: send_files failed to open "/cygdrive/c/Documents and Settings/winuser/NTUSER.DAT": Device or resource busy (16) rsync: send_files failed to open "/cygdrive/c/Documents and Settings/winuser/ntuser.dat.LOG": Device or resource busy (16) winuser/ntuser.ini winuser/Application Data/ . . . . . . sent 2143 bytes received 3279721 bytes 937675.43 bytes/sec total size is 5474431 speedup is 1.67 $> rm -rf /tmp/winbox/windows/winuser/ rm: cannot remove directory `/tmp/winbox/windows/winuser//Application Data/Mozilla': Permission denied rm: cannot remove directory `/tmp/winbox/windows/winuser//Favorites/Links': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//Favorites/Desktop.ini': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//Favorites/MSN.com.url': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//Favorites/Radio Station Guide.url': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Music/Sample Music.lnk': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Music/Desktop.ini': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Music/Music Videos & More on LAUNCH.url': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Music/Internet Radio on LAUNCH.url': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Pictures/Sample Pictures.lnk': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Pictures/Desktop.ini': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/My Pictures/Yahoo! Photos.url': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//My Documents/desktop.ini': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//SendTo/desktop.ini': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//SendTo/Compressed (zipped) Folder.ZFSendToTarget': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//SendTo/Desktop (create shortcut).DeskLink': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//SendTo/Mail Recipient.MAPIMail': Permission denied rm: cannot remove `/tmp/winbox/windows/winuser//SendTo/My Documents.mydocs': Permission denied Thanks, ->HS -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/