Resets permissions on a given file to an appropriate access level for sensitive files. Generally this is used to fix permissions on a private key file or config file to meet the requirements of the CLI. On Windows, full control will be given to System, Administrators, and the current user. On Unix, Read / Write permissions will be given to the current user.


oci setup repair-file-permissions [OPTIONS]

Required Parameters

--file [text]

The file to repair permissions on.