Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 2.82 KB

PERMISSIONS.md

File metadata and controls

47 lines (38 loc) · 2.82 KB

Permissions

Notice: Running the AWS IoT Device Client will incur usage of AWS IoT services, and is likely to incur charges on your AWS account. Please refer the pricing pages for AWS IoT Core, AWS IoT Device Management, and AWS IoT Device Defender for more details.).

Back To The Main Readme

File and Directory Permissions

The AWS IoT Device Client requires specific permissions on files and directory storing these files. Please make sure these permissions are applied on files and directories which are created manually by user before starting the Device Client.

Note: The numbers mentioned bellow are Chmod Permissions for File or Directory

Recommended and Required permissions on files

File Chmod Permissions Required
Private Keys 600 Yes
Public Certificates 644 Yes
Root Certificate Authority 644 Yes
CSR File 600 Yes
Log File 600 Yes
Job Handler 700 Yes
Config File 640 Recommended
HTTP Proxy Config File 600 Recommended
Pub/Sub Files 600 Yes
Sensor Pubilsh Pathname Socket 660 Yes
PKCS11 Library File 640 Yes

Recommended and Required permissions on directories storing respective files

Directory Chmod Permissions Required
Directory Storing Private Key 700 Yes
Directory Storing Public Certificates 700 Yes
Directory Storing Root Certificate Authority 700 Yes
Directory Storing CSR File 700 Yes
Directory Storing Log File 745 Yes
Directory Storing Config Files 745 Recommended
Directory Storing PubSub File 745 Yes
Directory Storing Sensor Publish Pathname Socket 700 Yes
Directory Storing PKCS11 Library File 700 Yes

Note: It is worth noting here that files are directories storing these files created by AWS IoT Device Client will have the above mentioned permissions set by default

Next: Environment Variables

Back To The Top