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 feed: ars technica ars technica

  • Coming in 2027: Apple’s $1,000 home robot for FaceTime and switching on lights
  • Touchscreen MacBook Pro hands-on: OLED looks great on a Mac
  • Apple announces touchscreen MacBook Pro with OLED display
  • Apple refreshes the iMac, entry-level MacBook Pro with the M6 chip
  • Apple iPhone Duo review: Two screens, two experiences, two thousand dollars

RSS feed: mac surfer mac surfer

  • Apple Seeds First iOS 27.3 Developer Beta
  • Apple Opens Siri AI to Third-Party App Developers
  • Apple R&D Spending Surges 32% to Record $45.77B
  • Apple Posts Record $114.5B Q4 2026 Earnings
  • Nine-inch HomeView Ultra again rumored for 2027 or 2028

Donate

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

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