Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi, So I have this partition that used to be my windows partition. I removed windows from it but still have a bunch of documents in there that I'd like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19

    Unhappy rsync --times won't update times


    Hi,
    So I have this partition that used to be my windows partition. I removed windows from it but still have a bunch of documents in there that I'd like to keep. The owner of that partition is root and the group is plugdev. myusername is part of that group.
    I use rsync from another computer to sync these documents that I want to keep. rsync won't be able to change the time attribute of the synced folders because of some permission missing (so does it say).
    With the files, it doesn't say anything, but the files created have today's date.

    The rsync line that I use is:
    rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh \
    --recursive --times --delete \
    --exclude "Thumbs.db" --exclude "desktop.ini" --exclude ".*" \
    Music/. myusername@192.168.1.40:~/Music

    Any clue what's happening?

    Thanks!
    Last edited by dnacombo; 10-21-2010 at 03:32 AM.

  2. #2
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19
    Ok, so as a quick apology, I started thinking of this in terms of permissions so entitled the thread chown won't work, but realized that it was more an issue with rsync itself...
    Anyways, I'm stuck! Please let me know!
    Thanks!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,577
    Is the source folder on an NTFS or FAT partition?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19
    Yes!
    NTFS, I believe...

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,577
    That's probably your problem. How are you mounting it, with CIFS, or the older SMB client?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19
    Oops, there I'm afraid I cannot follow you... I don't know...
    Ubuntu installed this partition when I installed it for double booting...
    Should I try reformatting the partition in ext3 or 4 or sth else? What's the difference anyway?
    Thanks a lot!

  7. #7
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    can you post exact error message? it will be easier to figure out if you do

  8. #8
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19
    Well, there is no error message for files. Just that it does not change the date of the transferred files as it should.
    And for the folders, it says: failed to set time on folder /home/Music/ operation not permitted (1)

  9. #9
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by dnacombo View Post
    Well, there is no error message for files. Just that it does not change the date of the transferred files as it should.
    And for the folders, it says: failed to set time on folder /home/Music/ operation not permitted (1)
    Quote Originally Posted by dnacombo View Post
    What's the difference anyway?
    One of the differences is huge....Windows does not set file permissions the same way Linux does.
    See this link for an in depth look at that difference.
    Filesystem permissions - Wikipedia, the free encyclopedia
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  10. #10
    Just Joined!
    Join Date
    Mar 2010
    Posts
    19
    Alright, thanks.
    So should I reformat that partition in some more "linux compatible" way?
    What should I do? ext3, ext4, something else? what does it mean?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •