Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

WordPress Media Library and Updates Not Working in OSX

July 7, 2011 2 Comments

When creating a WordPress set up on OSX using the regular personal file sharing framework that OS X provides,  the files are shared from the ~/Username/Sites directory. On an initial set up, the ownership of these files is set to the current logged in user whereas WordPress would prefer a different owner of the files.

WordPress will function out of the box ok until you need to upgrade WordPress itself or plugins at which point it  will complain about server connections, and when you try and add new images via the media library it will error on permissions and fail to upload.

wordpress-upgrade-permissions-error

wordpress-upgrade-permissions-error

 

wordpress-media-library-permissions-error

wordpress-media-library-permissions-error

The user permissions and ownership need to be changed, setting the commands below to the directory that contains the WordPress installation will fix both issues, the first command changes the ownership recursively to _www and the second one gives write permssions so WordPress and you can changes files in the directories:

sudo chown -R  _www ~/Sites/wordpressinstalldirectory
sudo chmod -R g+w ~/Sites/wordpressinstalldirectory

Cats: macOS, Tech, WordPress Tags: chown, media, OSX, owner, permissions, upgrade

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • San Francisco orders Apple, Google to remove nudify apps from app stores
  • Apple sues OpenAI after ex-engineer allegedly used bug to steal trade secrets
  • Apple and Samsung benefit as memory shortage pushes smartphone shipments to historic lows
  • Apple takes Epic fight over app store fees to the Supreme Court
  • Russian citizens told "switch to Android" after Apple blocks key Russian apps

RSS mac surfer

  • Apple Music Raises Prices in the U.S.
  • Apple Reclaims World's Most Valuable Company Title
  • San Francisco Orders Apple and Google to Pull Nudify Apps
  • Apple Ramps Up Vapor Chamber Orders for Foldable iPhone
  • AppleCare+ Raises Prices for Mac and iPad Plans

Donate

Copyright © 2026· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2026 · gee on Genesis Framework · WordPress · Log in