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
- Could not connect to the server Please verify the settings are correct
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Error in FTP connection using domain name, username and password?
- Filezilla FTP Server Fails to Retrieve Directory Listing
- How to connect to FTP over TLS/SSL (FTPS) server in Java
- FtpClient storeFile always return False
- How to recursively download a folder via FTP on Linux
- how can I login anonymously with ftp (/usr/bin/ftp)?
- Is there a Public FTP server to test upload and download?
- Differences between SFTP and “FTP over SSH”
- How can I view and edit specific aspects of playerdata from my Minecraft server?
- How to download a file via FTP with Python ftplib
- Upload files with FTP using PowerShell
- WordPress asking for my FTP credentials to install plugins
- WordPress asking for my FTP credentials to install plugins
- WordPress plugin install: Could not create directory
- Using WordPress on 000webhost.com
- What security concerns should I have when setting FS_METHOD to “direct” in wp-config?
- WAMP vs XAMPP pros/cons – for running a local testing server [closed]
- How can I stop WordPress from prompting me to enter FTP information when doing updates?
- wordpress on localhost lamp doesn’t let me install plugins
- Prevent Version URL Parameter (?ver=X.X.X) on Enqueued Styles & Scripts
- Update media library files after upload via FTP
- 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
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- How to save Admin FTP password
- How to remove “Connection Information” requirement on localhost install of WP on MACOSX
- How to stop wordpress from changing default .htaccess permissions to 444
- Why does WordPress still not support SFTP?
- Why does WordPress require a ftp server to be running on the webserver to transfer plugins?
- Where does wordpress store the FTP credentials?
- WP Asking for FTP Credentials with XAMPP Localhost
- Is it feasible to build and update a WordPress website offline?
- Mail isn’t sent after local site registration
- Plugin to edit htaccess file
- WP Config for FTP credentials
- FTP Username and password wrong while installing theme
- Have multiple local wordpress installs share a wp-content folder and database
- How to set path with WP_Filesystem and ftp base / chroot
- 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
- Is there a way to figure out the way to access hosting if I have admin privilege?
- Migrate localhost to server
- Moving WordPress from live to local server
- Why would WordPress request FTP information when it can write to the file server?
- Image upload via FTP to wordpress media library
- WordPress on Mac does not load admin page
- Theme not showing after uploading
- Upgrading WordPress 4.0 asks for FTP password
- wp-admin is redirecting to back to home page (localhost)
- Using the Parcel build tool with WordPress
- How to upload a media file via FTP and then create an attachment post with it?
- In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages [closed]
- Connect to server with SFTP instead of FTP/FTPS within WordPress Backup
- Standard permissions for wordpress; Plugin installation asks for FTP credentials
- WordPress Multisite with VVV
- subdomain mulitsite on localhost in a subfolder
- WordPress php error after editing file with FileZilla
- Switching from editing on directly on remote server to PHPstorm local development?
- Editing page content through FTP?
- Why does One Click Update fail on localhost using FTP with 777 permissions on site files?
- WordPress Admin Interface not styled properly