NAME

ecaccess-file-chmod - Change ECaccess File Mode Bits

SYNOPSIS

ecaccess-file-chmod -version|-help|-manual

ecaccess-file-chmod [-debug] mode ecaccess-file

DESCRIPTION

Allow changing the ECaccess File Mode Bits of the given ecaccess-file according to mode, which is an octal number representing the bit pattern for the new mode bits.

The ecaccess-file is in the form [domain:][/user-id/]path. Please read the "Shell commands -> File Management" section of the "ecaccess" guide for more information on the ECaccess File System.

ARGUMENTS

mode

Octal number representing the bit pattern for the new mode bits (e.g. 0600).

ecaccess-file

The name of the ECaccess File to change the File Mode Bits.

OPTIONS

-version

Display version number and exits.

-help

Print a brief help message and exits.

-manual

Prints the manual page and exits.

-retry count

Number of SSL connection retries per 5s to ECMWF. This parameter only apply to the initial SSL connection initiated by the command to the ECMWF server. It does not apply to all the subsequent requests made afteward as it is mainly targeting errors that can happen from time to time during the SSL handshake. Default is no retry.

-debug

Display the SOAP and SSL messages exchanged.

EXAMPLES

ecaccess-file-chmod 0700 ec:bin/a.out

Change the File Mode Bits to Read and Write for owner and Read for everybody else on a File in the bin directory of the ECFS directory of the authenticated user.

SEE ALSO

ecaccess-file-delete, ecaccess-file-get, ecaccess-file-mget, ecaccess-file-modtime, ecaccess-file-mput, ecaccess-file-rmdir, ecaccess-file-copy, ecaccess-file-dir, ecaccess-file-mdelete, ecaccess-file-mkdir, ecaccess-file-move, ecaccess-file-put, ecaccess-file-size and ecaccess.