---
title: "Apply write protection"
slug: "apply-write-protection-2"
tags: ["Product Usage", "ACC 6.5.x"]
updated: 2026-08-31T19:05:48Z
published: 2026-08-31T19:05:48Z
canonical: "docs.trellix.com/apply-write-protection-2"
stale: true
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trellix.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Apply write protection
You can write-protect specific files, directories, and volumes to prevent unauthorized programs or users from changing them.
## Task
Run this command at the command prompt.
sadmin write-protect [ -i ] pathname1 ... pathnameN
Paths can include wildcard characters. When using wildcards, make sure that the specified string matches a limited set of file paths or file names. If the specified string matches many files, we recommend you revise the string.
- Paths can include the
***** wildcard character. Using/abc/*/def is allowed while
/abc/*.sh,
/abc/*.*, or
/abc/doc.* is not supported.
For example:
- # sadmin write-protect –i /etc/security/limits.conf
You can also write-protect network file systems by specifying the network path with the sadmin write-protect command to prevent any change to the network share.
| Syntax | Example |
| --- | --- |
| sadmin write-protect -i /mount-point | Specify the mount point name on the Linux platform. For example: sadmin write-protect –i /nfs |