public class AclOption extends Object
Some file systems support storage of Extended Attributes (xattrs) and Access Control Lists (acls). Ascp can be run with a combination of these options to preserve the meta data when files are transferred between file systems.
When MODE=native, xattrs and acls are preserved using native capabilities of the file system. But this storage mode is not supported on all file systems.
When MODE=metafile, xattrs and acls for a file (say, "readme.txt") are preserved in a second file, whose name is composed of the name of the (primary) file with ".aspera-meta" appended (i.e., "readme.txt.aspera-meta"). The aspera-meta files are platform-independent and can be copied between hosts without loss of information. This storage mode is supported on all file systems.
When MODE=none, xattrs and acls are not preserved. This storage mode is supported on all file systems.
Refer to ExtendedAttributesOption
Modifier and Type | Class and Description |
---|---|
static class |
AclOption.Mode |
Constructor and Description |
---|
AclOption() |
AclOption(AclOption.Mode preserve,
AclOption.Mode remotePreserve) |
public AclOption()
public AclOption(AclOption.Mode preserve, AclOption.Mode remotePreserve)
Copyright © 2017 Aspera Inc.. All rights reserved.