Set file permissions
On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files.
One way to do this is to change the owner of the wordpress directory and its contents to _www. Keep the group as staff, a group to which your user account belongs and give write permissions to the group.
$ cd /<wherever>/Sites/<thesite>
$ sudo chown -R _www wordpress
$ sudo chmod -R g+w wordpress
This way, the WordPress directories have a permission level of 775 and files have a permission level of 664. No file nor directory is world-writeable.
You can read more about it on mamp forum: http://forum.mamp.info/viewtopic.php?f=2&t=15917
Related Posts:
- Valid Connection Information is Getting Denied
- FTP Connection Information after Installation in Cygwin
- Failed to connect to FTP Server 127.0.0.1/:21
- Unable to locate WordPress Plugin directory. ftp_base not working?
- WordPress keeps asking for connection information in localhost
- Plugin installation not possible / FTP credentials in WP-config
- PHP Fatal error: Call to undefined function wp_cache_get() in /var/www/vhosts/visisite.com/httpdocs/wp-includes/functions.php on line 1367
- Why wordpress cannot write to directory and how to fix it?
- How to edit page content after downloading the site files
- Upload files only on FTP
- FTP installation of WordPress
- SSH Server with WordPress
- Download PHP and CSS from the WordPress admin page without FTP
- How can I deploy my InstantWP site to a live website?
- How to cause the WordPress web interface to update via FTP
- WordPress FTP Error: “Failed to connect to FTP Server”
- Does WordPress still ask for FTP credentials for each file operation?
- How I do I host a simple html file through wordpress? (see details) [closed]
- FTP or Cpanel installation of WordPress
- Website Got Hacked – Fixed – Now Cannot Activate Theme
- What determines initial file permissions when a WP theme folder is uploaded manually with an FTP client? [closed]
- How to auto upload image from external source(computer) to webpage
- WordPress change homepage link (htaccess) (index)
- Upload and configure WordPress
- ftp not retrieving my directory file ,anyone have solution?
- FTP connection information + warning lines appearing on the homepage of my campsite?
- Installing Theme from uploaded file. Not uploaded theme?
- Failed to connect to PC:21 – WordPress & XAMPP
- Changing themes on locally hosted webpages
- FTP file manager AS wordpress site
- Is there any way to ftp into wordpress if I paid for my own domain? I want to set up google analytics
- WordPress not syncing with FTP
- file compressed the content on single line after upload in wordpress
- How to use rsync over FTP
- Using wget to recursively download whole FTP directories
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Filezilla FTP Server Fails to Retrieve Directory Listing
- How to connect to FTP over TLS/SSL (FTPS) server in Java
- how can I login anonymously with ftp (/usr/bin/ftp)?
- WordPress asking for my FTP credentials to install plugins
- Import WordPress xml file larger than 8mb
- Why is WordPress redirecting from http to https on a local environment?
- WordPress on a local machine redirecting to online url
- How to stop wordpress from changing default .htaccess permissions to 444
- Why does WordPress still not support SFTP?
- Is it feasible to build and update a WordPress website offline?
- local wordpress blog issues
- Why I have this error when I try to install this old blog on my local webserver?
- 404 error on all pages but homepage
- wp-admin is redirecting to back to home page (localhost)
- Connect to server with SFTP instead of FTP/FTPS within WordPress Backup
- How to deactivate/remove https on localhost project from online
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- Can I upgrade plugins via FTP?
- Custom Permalinks don’t work on local LAMP installation
- WordPress asking for FTP details when installing plugins
- Stats for a wp powered intranet
- How to copy WordPress live website to Bitnami stack localhost?
- Unable to locate WordPress Root directory
- No styling on fresh wordpress installation
- WordPress isn’t reflecting changes I make to a specific file via FTP [closed]
- Linux Permissions and Ownership for WordPress
- WordPress loading very slow on MAMP Pro [closed]
- the display of word press theme in preview mode
- Images not displayed when moving site to local
- Where is the database setup form for WP install in MAMP?
- Install and Update plugins on a VPS WordPress installation
- Trouble Installing WordPress Get PHP Not Running Answer
- Unable to access wordpress login.php [closed]
- wordpress css file
- WordPress Installed But Not Showing Up! [closed]
- disabling ftp on wordpress
- How best to keep my localhost on Http while my Remote production is on Https
- How is FTP used for upgrade?
- WordPress 4.4.2 Update not working
- Design problems when exporting remote database for local development
- I want to edit it on my laptop as a child theme and transfer the files to my server. I don’t know how
- Image link issues after importing a database backup to my local web server
- Site migration from Localhost to Server – 404 errors
- Wp-Admin FTPS Connection Error unlike Filezilla
- Why is WordPress’ installer “phoning home” during the install script?
- SFTP define in wp-config.php
- Can I run multiple blogs from my local machine
- WAMP WordPress installation cannot get past step 1, loads indefinitely
- The style.php file inside theme-engine folder has other content on FTP
- Disabling forced FTP credentials for any updates
- Error establishing a database connection with XAMPP
- CSS and JS not loading after uploading onto server
- blank page after update my theme
- Cloned site not connecting to database – MAMP
- Installation problem with wordpress xampp
- WordPress FTP/media directory permissions problem?
- Cant view wordpress after install
- FTPS Uploads – wp-content cannot be found
- Why I have this error when I try to install this old blog on my local webserver?
- How to install wpengine hosted multisite locally
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Saving Permalinks Results in 403 MAMP (Windows)
- Allow SFTP but disallow SSH?
- I can’t log into my website , it says “Error: Cookies are blocked due to unexpected output”