Title: WordPress cannot write files
Last modified: August 19, 2016

---

# WordPress cannot write files

 *  [Michael](https://wordpress.org/support/users/michaelqt/)
 * (@michaelqt)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/wordpress-cannot-write-files/)
 * I have a freshly installed wordpress on my own webserver (nginx). I am getting
   this problem:
 * > Sorry, but I can’t write the wp-config.php file.
   > You can create the wp-config.php manually and paste the following text into
   > it.
 * I do not have FTP server installed, everything that is transferred to my webserver
   is with SFTP (makes it more secured).
 * What are the reasons why wordpress is unable to write files on its own? Is it
   because I need a ftp server? Set permissions? chmod? Maybe I am missing some 
   server configurations? First time running webserver and any help would be nice.

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/wordpress-cannot-write-files/#post-1788656)
 * FTP clients like [Filezilla](http://filezilla-project.org/) also do SFTP. Your
   host has some permissions restrcitions in place. See [Editing wp-config.php « WordPress Codex](http://codex.wordpress.org/Editing_wp-config.php)
 *  Thread Starter [Michael](https://wordpress.org/support/users/michaelqt/)
 * (@michaelqt)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wordpress-cannot-write-files/#post-1788890)
 * How do I go about fixing this permission restrictions? The user that is set is
   a user with global privileges for that specific database. Is this a cause of 
   mysql/ftp/webserver restrictions? I’m trying to narrow down the cause of it.

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

The topic ‘WordPress cannot write files’ is closed to new replies.

## Tags

 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [install issue](https://wordpress.org/support/topic-tag/install-issue/)
 * [permissions](https://wordpress.org/support/topic-tag/permissions/)
 * [wp-config](https://wordpress.org/support/topic-tag/wp-config/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/michaelqt/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/wordpress-cannot-write-files/#post-1788890)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
