Option to not follow symlinks #350

Open
opened 2026-01-29 22:10:33 +00:00 by claunia · 1 comment
Owner

Originally created by @Soundman32 on GitHub (Apr 15, 2019).

It appears from my testing that if a folder (Linux) contains a symlink, then the file pointed to by the symlink is included in an archive. If the file linked to doesn't exist, then an exception is thrown.

There should be an option to include the symlink itself, so that the contents of the actual file is not included in the archive.

Originally created by @Soundman32 on GitHub (Apr 15, 2019). It appears from my testing that if a folder (Linux) contains a symlink, then the file pointed to by the symlink is included in an archive. If the file linked to doesn't exist, then an exception is thrown. There should be an option to include the symlink itself, so that the contents of the actual file is not included in the archive.
claunia added the enhancementup for grabs labels 2026-01-29 22:10:33 +00:00
Author
Owner

@adamhathcock commented on GitHub (Apr 15, 2019):

The default behavior of listing directories in .NET Core must be following symlinks.

Sounds like a good PR to override this.

@adamhathcock commented on GitHub (Apr 15, 2019): The default behavior of listing directories in .NET Core must be following symlinks. Sounds like a good PR to override this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#350