How to Make a File Immutable in SynetoOS 6

Written By Christian Castagna (Administrator)

Updated at February 5th, 2026

Table of Contents

→ Applies to: SynetoOS 6.x

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2. Get root privileges

sudo su -

 

Manage Files

Set file as immutable and persistent (replace <file_name_path> with the complete path and file name)

chattr +i <file_name_path>

EXAMPLE

chattr +i /tmp/testfile.sh

 

Remove file immutability and persistent (replace <file_name_path> with the complete path and file name)

chattr -i <file_name_path>

EXAMPLE

chattr -i /tmp/testfile.sh