Title: WP-CLI and DISALLOW_FILE_MODS
Last modified: May 18, 2021

---

# WP-CLI and DISALLOW_FILE_MODS

 *  [ibertrix](https://wordpress.org/support/users/ibertrix/)
 * (@ibertrix)
 * [5 years ago](https://wordpress.org/support/topic/wp-cli-and-disallow_file_mods/)
 * Hi,
 *  I see it´s possible to run WP-CLI updates for plugins even with DISALLOW_FILE_MODS
   enabled. Is that the expected behaviour? (A client has asked me and I haven´t
   found an answer)
 *  Thanks

The topic ‘WP-CLI and DISALLOW_FILE_MODS’ is closed to new replies.

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ibertrix](https://wordpress.org/support/users/ibertrix/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/wp-cli-and-disallow_file_mods/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
