Skip to content

[Bug] CopyDir fails on systems without xattr support #244

@sondavidb

Description

@sondavidb

The CopyDir() call will fail on filesystems that do not support extended attributes. This is because the function will eventually call sysx.LListxattr(), which will return ENOTSUP. This shouldn't be a problem for normal operations, as it just means there are no xattrs to copy, but as it's still an error it will say the function call failed.

This can be mitigated by attaching an XAttrErrorHandler to the CopyDir function call, but this being default behavior seems to be a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions