Title: Linux/Mint wp-conf.php &#8211; it&#039;s locked
Last modified: August 31, 2016

---

# Linux/Mint wp-conf.php – it's locked

 *  Resolved [Toni](https://wordpress.org/support/users/tools4toni/)
 * (@tools4toni)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/)
 * I just created a local install of WordPress on Linux Mint 17.3.
    I used the command
   prompt for that.
 * I am not a tech person, any suggestions need to be basic please.
 * **Problem: I cannot access wp-config.php to edit with a text editor. I cannot
   open it at all. “Permission denied.”**
 *  – I want a MultiSite
    – I need access to wp-config in general
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [mikezgardan](https://wordpress.org/support/users/mikezgardan/)
 * (@mikezgardan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160736)
 * 1. to edit it, you need to set up proper permission to wp-config.php like this:
   **
   chmod o+w /path/to/wordpress/wp-config.php** after making changes, dont forget
   to revert the permissions back: **chmod o-w /path/to/wordpress/wp-config.php**
 * 2. Also, you can use this command to edit it:
    **sudo gedit /path/to/wordpress/
   wp-config.php**
 * you should have gedit installed by default in your system, probably.
    if not:**
   sudo apt-get install gedit**
 * you can also try other text editors this way.
 * _The second is probably the better, if you are not that technical person and 
   you don’t want to mess with those permissions._
 *  Thread Starter [Toni](https://wordpress.org/support/users/tools4toni/)
 * (@tools4toni)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160738)
 * Thank you for providing multiple methods. And the very thorough instructions.
 * I want to use the command prompt more, but I do not want to have to depend on
   it. Especially if I just need to get things done.
 * Again, big thanks. You saved me a lot of time and hassle.
    Cheers!
 *  Thread Starter [Toni](https://wordpress.org/support/users/tools4toni/)
 * (@tools4toni)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160739)
 * You are correct, the gedit method is the best. Less ability to screw up, and 
   I need to see what I am doing.
 *  [mikezgardan](https://wordpress.org/support/users/mikezgardan/)
 * (@mikezgardan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160740)
 * Obviously, i forgot ‘**sudo**‘ before **chmod** commands.
 * When using **chmod**, you can navigate to your wordpress folder and also open
   the file with the editor of your choice. But the second method I gave, is surely
   safer.
 *  Thread Starter [Toni](https://wordpress.org/support/users/tools4toni/)
 * (@tools4toni)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160760)
 * Oh! Thanks for that, I will correct and add to my notes.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Linux/Mint wp-conf.php – it's locked’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 5 replies
 * 2 participants
 * Last reply from: [Toni](https://wordpress.org/support/users/tools4toni/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/linuxmint-wp-confphp-its-locked/#post-7160760)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
