Pike v8.1 release 6

Module Filesystem.Tar

Description

Filesystem which can be used to mount a Tar file.

Two kinds of extended tar file records are supported:

"ustar\0\60\60"

POSIX ustar (Version 0?).

"ustar \0"

GNU tar (POSIX draft)

Note

For a quick start, you probably want to use `()().

See also

`()()


Constant EXTRACT_CHOWN

constant int Filesystem.Tar.EXTRACT_CHOWN

Description

Set owning user and group from the tar records.


Constant EXTRACT_ERR_ON_UNKNOWN

constant int Filesystem.Tar.EXTRACT_ERR_ON_UNKNOWN

Description

Throw an error if an entry of an unsupported type is encountered. This is ignored otherwise.


Constant EXTRACT_SKIP_EXT_MODE

constant int Filesystem.Tar.EXTRACT_SKIP_EXT_MODE

Description

Don't set set-user-ID, set-group-ID, or sticky bits from the tar records.


Constant EXTRACT_SKIP_MODE

constant int Filesystem.Tar.EXTRACT_SKIP_MODE

Description

Don't set any permission bits from the tar records.


Constant EXTRACT_SKIP_MTIME

constant int Filesystem.Tar.EXTRACT_SKIP_MTIME

Description

Don't set mtime from the tar records.