Enum SymlinkExtractAction

pub enum SymlinkExtractAction

Symlink extract action

Variants

NoExtract

Omit symlinks.

ExtractAsFile

Convert symlinks to text file

ExtractAsFileUtf8

Convert symlinks to text file as utf8

ExtractRecursiveInFolder

Extract symlinks if the recursive target is in the destination folder (default on Unix and Windows, but not possible on other platforms).

ExtractInFolder

Extract symlinks if the direct target is in the destination folder (i.e. it can point to a pre-existing symlink that in turn points outside the folder).

ExtractNoRestrictions

Extract symlinks with no restrictions.

On Windows, creating a symlink requires that we know whether the target is a file or directory. To determine that, this option will open the file metadata of the target path, which will cause NTLMv2 authentication to be sent if the target is on an SMB network share. This may be a security risk, because it allows relay attacks and offline cracking. WebDAV is also vulnerable, but only when a file host in the Intranet Zone is already compromised.

Trait Implementations

impl Clone for SymlinkExtractAction

fn clone(&self) -> Self

impl Copy for SymlinkExtractAction

impl Debug for SymlinkExtractAction

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for SymlinkExtractAction

fn default() -> Self

Auto Trait Implementations

impl Freeze for SymlinkExtractAction

impl RefUnwindSafe for SymlinkExtractAction

impl Send for SymlinkExtractAction

impl Sync for SymlinkExtractAction

impl Unpin for SymlinkExtractAction

impl UnsafeUnpin for SymlinkExtractAction

impl UnwindSafe for SymlinkExtractAction

Blanket Implementations

impl<T> Any for SymlinkExtractAction where T: 'static + ?Sized,

impl<T> Borrow<T> for SymlinkExtractAction where T: ?Sized,

impl<T> BorrowMut<T> for SymlinkExtractAction where T: ?Sized,

impl<T> CloneToUninit for SymlinkExtractAction where T: Clone,

impl<T> From<T> for SymlinkExtractAction

impl<T> Same for SymlinkExtractAction

impl<T> ToOwned for SymlinkExtractAction where T: Clone,

impl<T, U> Into<U> for SymlinkExtractAction where U: From<T>,

impl<T, U> TryFrom<U> for SymlinkExtractAction where U: Into<T>,

impl<T, U> TryInto<U> for SymlinkExtractAction where U: TryFrom<T>,