AWS DataSync
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

How DataSync Stores Files in Locations

How DataSync transfers and stores files depends on the file type and the location type. The following table shows how files are stored in each of the location types.

File Type

NFS

Amazon EFS

Amazon S3

Regular

Natively

Natively

Object

Symbolic link

Natively

Natively

Link content stored in object

Directory

Natively Natively

Empty object

Block device

Natively

Not supported

Empty object

Character device

Natively Not supported Empty object

Named pipe

Ignored

Ignored Ignored

Socket

Ignored Ignored Ignored

The following table shows how metadata is transferred and stored in each location type.

POSIX Metadata

NFS

Amazon EFS

Amazon S3

File type

inode mode field

inode mode field

Object user-defined metadata file permissions

The exception is directories that are indicated by a trailing */* in the object n.

Permissions

inode mode field inode mode field Object user-defined metadata file permissions

User ID

inode uid field inode uid field Object user-defined metadata file owner

Group ID

inode uid field inode uid field Object user-defined metadata file group

Modification time

inode Mtime field inode Mtime field Object user-defined metadata file Mtime

Access time

inode Atime field inode Atime field Object user-defined metadata file Atime

Sticky/Setuid/Setgid

inode mode field inode mode field Object user-defined metadata file permissions

Device major/minor

inode device id field

Not supported

Object user-defined metadata file device

Hard links

inode link cound field inode link cound field Object user-defined metadata file inode

When transferring files from an Amazon S3 location to an Amazon EFS or NFS location, objects that don't have POSIX metadata assume the default UID, GID, folder, and file permissions. The following table shows the default permissions that DataSync assumes.

Permission Value

UID

65534

GID

65534

Folder Permission

0755

File Permission

0755