This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

permission denied while deleting the local copy of rsynced data


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]