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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Could not change owner/permissions on /path/to/file: Operation not permitted  (Read 4978 times)
medotin
Newbie
*
Posts: 2


View Profile
« 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]
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 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.
Logged
medotin
Newbie
*
Posts: 2


View Profile
« Reply #2 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?
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #3 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. 
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!