Add a safe links option #19

Closed
opened 2024-10-18 12:56:07 +00:00 by stephenseo · 0 comments
Owner

rsync has an option --safe-links that does not copy over symlinks that point to outside of what's being transferred.

SimpleArchiver could benefit from having such an option where symlinks that point to outside of what's being archived would be ignored.

The current implementation causes symlinks that point to outside of the archive to be saved as absolute-path symlinks (unless if --no-abs-symlink is specified).

`rsync` has an option `--safe-links` that does not copy over symlinks that point to outside of what's being transferred. SimpleArchiver could benefit from having such an option where symlinks that point to outside of what's being archived would be ignored. The current implementation causes symlinks that point to outside of the archive to be saved as absolute-path symlinks (unless if `--no-abs-symlink` is specified).
stephenseo added the
Kind/Enhancement
label 2024-10-18 12:56:35 +00:00
stephenseo self-assigned this 2024-10-18 12:56:37 +00:00
stephenseo added this to the Development Planning project 2024-10-18 12:56:45 +00:00
stephenseo referenced this issue from a commit 2024-10-21 08:24:22 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stephenseo/SimpleArchiver#19
No description provided.