S3Sync.net
February 02, 2014, 01:37:32 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Questions
>
Restoring Data - unlink: Operation not permitted
Pages: [
1
]
« previous
next »
Print
Author
Topic: Restoring Data - unlink: Operation not permitted (Read 3131 times)
napes
Newbie
Posts: 2
Restoring Data - unlink: Operation not permitted
«
on:
October 17, 2007, 02:42:50 PM »
Hi,
I'm trying to restore some files originally synced using s3sync but I'm encountering the error:
source: <Dir Name>
local node object init. Name:<Dir Name> Path:<Local Directory><Dir Name> Size:38 Tag:d66759af42f282e1ba19144df2d405d0
Create node <Dir Name>
./s3sync.rb:621:in `unlink': Operation not permitted - <Local Directory><Dir Name> (Errno::EPERM)
where <Local Directory> is the directory the file should be copied to and <Dir Name> is the directory name. The local system is running Mac OS 10.4. I'm not sure if this has any effect though.
Has anyone encountered this before or know how to fix it?
Thanks,
Napes
Logged
napes
Newbie
Posts: 2
Re: Restoring Data - unlink: Operation not permitted
«
Reply #1 on:
October 27, 2007, 06:46:19 AM »
I've worked out what's causing the problem:
If two nodes exist with the same name, for example:
/backup/files/monkey
and sometime later
/backup/files/monkey
then the sync exits on an error trying to recreate the second node as, I assume, it violates the internal model - two identical directories with differing object IDs.
So far I have used s3 Browser for OS X to remove the duplicates and everything seems to be running again. Unfortunately I don't have time to suggest a patch for the existing code.
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Restoring Data - unlink: Operation not permitted
«
Reply #2 on:
October 27, 2007, 06:05:36 PM »
If you can create a self-contained test case that demonstrates the bug I can take a look at it. Otherwise it's too much trouble to figure out what you're doing to get the result
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...