Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Note that the pe toggles can cause privilege issues (Operation not permitted) because ` pax` is calling chown. For my use case having hardlinks attributed to the executing user was fine so I ended up using simply pax -rwl Commented Jul 10, 2020 at 6:37
  • Another issue I encountered is with permissions. If you have a directory owned by root and try to create hard links with pax using a standard user (e.g. your web server user like www-data), the behavior of pax is creating copies of the files instead of hardlinks. This is certainly for security reasons (this would allow a user to modify root's files), but be sure to be aware of this. Commented Jul 20, 2020 at 12:42