S3Sync.net
February 02, 2014, 01:19:42 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can't set group: `chown': bignum too big to convert into `long' (RangeError)  (Read 3856 times)
A.Skwar
Newbie
*
Posts: 8


View Profile
« on: August 17, 2008, 03:56:36 AM »

Hi.

For the first time, I'm trying to sync something from one of my buckets to my local system using s3sync.rb. Up to now, I just uploaded stuff using s3sync.

But now I get this:

Code:
./s3sync.rb:683:in `chown': bignum too big to convert into `long' (RangeError)
from ./s3sync.rb:683:in `send'
from ./s3sync.rb:683:in `updateFrom'
from ./s3sync.rb:393:in `main'
from ./s3sync.rb:735

I'd say that this is related to the closed bug “Owner ID is incorrect”.

Using jets3t, I see the following "Metadata":

  • group: 4294967294
  • owner: 10001
  • permissions: 33204
I synced the file from a Linux system onto S3. On the Linux system, the source was NFS mounted and the file belonged to group "nogroup". I don't use cygwin. So it's not Cygwin related.

I see that problem with s3sync 1.2.6.

The patch from “Owner ID is incorrect” did not work for me, because my GID is not -1 (ie. 0xFFFFFFFF), but -2 (ie. 0xFFFFFFFF - 1).

I'll attach a patch which fixes this problem (for me). It's against s3sync.rb from s3sync 1.2.6.

Cheers,
Alexander
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!