Skip to content

Issue with modification dates of parent directories in mounted archives #169

@hjudt

Description

@hjudt

I noticed that when mounting a repo using attic mount, then the parent directories will have the same timestamp as the mount point. Example:

attic create --do-not-cross-mountpoints repo::archive ~/work/somedir
attic mount repo /mnt/point

If I now list repo::archive, I get a directory structure like this:
/mnt/point/archive/home/user/work/somedir

"somedir" seems to have the proper creation/modification dates, but all parent directories (home, user, work) do not. They have the same dates as the mountpoint directory, that gets the timestamp when the repo was mounted.

I noticed this because I'm also using obnam for backup, and its mount command does show the proper timestamps. To me it would seem logical for attic to also store the proper timestamps for all parent directories, otherwise why store the absolute path at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions