Skip to content

Add -o no_acls #377

Description

@dmik

ACLs are a domain-local metadata, generally they are not importable/exportable. Currently, if the remote machine does not support ACLs at all (or doesn't support it in a way the local machine does, or ACL policies are incompatible), even a simple default tar roundtrip (that preserves ACLs) will fail.

The idea of this option is to ignore ACL related FS calls (don't send them to the remote side at all and report success locally). This will make tar (and many other similar cases) work effortlessly without adding custom workarounds for a particular SSHFS mount point like tar x --no-acls etc (which is generally not possible because tar is an application level tool that believes it works with a local FS and the whole idea of SSHFS is to make remote FS look like a local one, it knows nothing about local FS semantics and it shouldn't).

SSHFS already does this level of semantic mapping between the local and remote machine with e.g. -o idmap (to map UID/GID). Dealing with ACLs (extended ACLs) is just another page in this book.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions