S3Sync.net

General Category => Questions => Topic started by: medotin on September 28, 2008, 11:21:19 AM



Title: Could not change owner/permissions on /path/to/file: Operation not permitted
Post by: medotin on September 28, 2008, 11:21:19 AM
I get this message for each file and directory I 'get'.  Is this a bug, and why are you trying to change the permissions anyway?

Running s3sync version 1.2.6 on Ubuntu 8.04, and:
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]


Title: Re: Could not change owner/permissions on /path/to/file: Operation not permitted
Post by: ferrix on September 29, 2008, 08:02:38 PM
It's a sync.. it syncs file name, contents, owner name, and permissions.  Of course if you don't have permission to change those things, then I guess it'd fail.  You could comment that part out I'm sure.


Title: Re: Could not change owner/permissions on /path/to/file: Operation not permitted
Post by: medotin on September 29, 2008, 08:08:26 PM
Fair enough.  But I definitely should have had permissions as I owned the process which brought the files down, and they were owner writable.  I'm now wondering if it's because I uploaded them via s3sync on a Windows box via cygwin where UIDs are different then where I downloaded them.  How do you store permission data?


Title: Re: Could not change owner/permissions on /path/to/file: Operation not permitted
Post by: ferrix on October 02, 2008, 12:38:23 AM
It just uses the basic ruby calls for that stuff.. it's not shocking that it's wrong on cygwin.