Create the following folders.
Folder | Contents | Sample path |
|---|---|---|
<HOST_CONFIG> | Host configuration files | /home/myuser/cagw/config |
<HOST_CONFIG>/<CREDENTIALS> | Credential files | /home/myuser/cagw/config/credentials |
You can create both folders with a single command – for example:
mkdir -p /home/myuser/cagw/config/credentialsOnce you add all the configuration and credentials files in the respective folders, run the following commands to make the folder files accessible to the predefined user and group with the 1339 identifier.
chown -R :1339 <HOST_CONFIG>chmod -R g+rx <HOST_CONFIG>chmod -R g+s <HOST_CONFIG>For example:
chown -R :1339 /home/myuser/cagw/configchmod -R g+rx /home/myuser/cagw/configchmod -R g+s /home/myuser/cagw/config