Skip to content

Mode and modification times on directories should be preserved #11

Closed

Description

@jpjp

If I sync a file, the metadata on the target is different from on the source. So far I have only checked output from stat, not xattrs.

Activity

  1. calmh commented on Jan 6, 2014

    @calmh
    Member

    Could you expand on which metadata it is you are looking for, specifically (i.e. Spotlight keywords, labels, resource forks, Windows extended attributes...)? Some might be possible, some might be to OS specific to be suitable, I'm not sure, haven't thought it through yet. :)

  2. jpjp commented on Jan 6, 2014

    @jpjp
    ContributorAuthor

    Sure: everything returned by stat, and most of the stuff returned by attr -l FILE (probably not the selinux context though)

  3. calmh commented on Jan 6, 2014

    @calmh
    Member

    Right. That's Linux specific then; not impossible for sure, but not probably something I will prioritize.

  4. jpjp commented on Jan 6, 2014

    @jpjp
    ContributorAuthor

    Your choice :) I just found it confusing that the directories sorted by date were different. I think it might prevent users from seeing which version of a file they have if the mtime, etc is different.

  5. calmh commented on Jan 6, 2014

    @calmh
    Member

    Ah... Times should be preserved for sure. It does that now for files, because files are what it synchronizes, but not directories. That also means empty directories will not be synchronized (or deleted)... Perhaps that is something that should be fixed. I'll tag that as a bug.

  6. calmh commented on Jan 7, 2014

    @calmh
    Member

    I'm changing the title on this to apply to the directory time issue; feel free to open other issues on other metadata.

  7. jpjp commented on Jan 7, 2014

    @jpjp
    ContributorAuthor

    calmh#20 opened.

  8. calmh commented on Jan 9, 2014

    @calmh
    Member

    This turned out to be more of a pain than I expected, shuffling it forward a bit while I think about more elegant solutions...

  9. jpjp commented on Jan 28, 2014

    @jpjp
    ContributorAuthor

    Writing this here so I don't forget (again): touch ~/Sync/file1 will not be synced across the cluster because it is zero length.

  10. calmh commented on Jan 28, 2014

    @calmh
    Member

    (-> #44)

  11. modified the milestones: , v0.6 on Feb 10, 2014
  12. modified the milestones: v0.8, on Mar 30, 2014
  13. added
    frozen-due-to-age
    on Jun 17, 2017
  14. locked and limited conversation to collaborators on Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions