Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 30, 2012, 08:36 AM   #1
dsmush
macrumors newbie
 
Join Date: Aug 2012
WordPress write permissions problems

Hi I'm having problems with WordPress on localhost on my Mac. When I try to install a plugin it says it is downloading and unpacking then I get Could not create directory. I got around this by just doing it manually which worked fine but I now have a problem with a particular plugin as it says the xxxxx directory is not writable by your webserver. I'm assuming that this and the plugin issue is all down to write permissions in the OS but when I get info on the folder (Me), admin and everyone all have r+w permissions.
Also I'm not sure if it is related but my Terminal name reads unknown-a1:1a:aa:a1:11:11:~ Name$ and when I try to cd to XAMPP it responds no such file or directory I can cd into Applications folder but the ls command doesn't even work in that folder either.

I've been trying to figure this out for a day or two now If someone is able to help me with this that would be great.
Thanks
dsmush is offline   0 Reply With Quote
Old Nov 30, 2012, 08:48 AM   #2
m00min
macrumors 6502
 
Join Date: Jul 2012
When I do WordPress dev work on my mac I change the permissions on the uploads folder via the terminal, just like I'd do on a "proper" server. e.g. chmod 777 uploads. I'm not sure that setting the permissions via OSX info panel does quite the same thing.

----------

Not sure where plugins are saved when using the WP admin to download them as I do it manually. If they don't use uploads then you could try chmodding the plugins directory and see if it makes any difference.
__________________
Obligatory dick waving: 2012 i7/8GB/256SSD MBA; 2010 i7/8GB/256SSD MBP; 2006 Mac Mini; iPhone 4S; iPad 3
m00min is offline   0 Reply With Quote
Old Nov 30, 2012, 09:02 AM   #3
dsmush
Thread Starter
macrumors newbie
 
Join Date: Aug 2012
I would try this but I cannot get to the XAMPP folder using Terminal as I mentioned I can change directory into the Applications folder but cannot do anything else in there ls and cd do not work in that folder for some reason
dsmush is offline   0 Reply With Quote
Old Nov 30, 2012, 09:44 AM   #4
m00min
macrumors 6502
 
Join Date: Jul 2012
Quote:
Originally Posted by dsmush View Post
I would try this but I cannot get to the XAMPP folder using Terminal as I mentioned I can change directory into the Applications folder but cannot do anything else in there ls and cd do not work in that folder for some reason
Sorry, I somehow missed that. I'm using the built-in apache/php/mySQL setup, just assumed there'd be some facility for command line stuff in XAMPP.
__________________
Obligatory dick waving: 2012 i7/8GB/256SSD MBA; 2010 i7/8GB/256SSD MBP; 2006 Mac Mini; iPhone 4S; iPad 3
m00min is offline   0 Reply With Quote
Old Nov 30, 2012, 11:35 AM   #5
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
In OSX user finder to get to the folder, right click and get info. Make sure you (admin account) and everyone has Read and Write, but also check to make sure is not locked - a checkbox option further up.

In terminal mode, if you can't perform a certain function such as changing into a directory you know is there, I am under the assumption you are not using your admin account OR other permissions issue. In such a case, use "sudo" before the command, i.e.:

sudo chown -R your_account:admin /path/to/folder
sudo chmod -R 777 your_account:admin /path/to/folder

The 777 is for example purposes only, anyone can read/write - if you need to protect the folder use the proper chmod value or get help here as to chmod.
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   1 Reply With Quote
Old Dec 1, 2012, 09:46 AM   #6
dsmush
Thread Starter
macrumors newbie
 
Join Date: Aug 2012
Thank you this worked. I had tried the chmod previously but didn't seem to work perhaps I used it incorrectly and I didn't use chown at the time.
dsmush is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Automatically get read/write permissions for file saved from Windows packerblitz OS X 0 Nov 27, 2013 11:55 AM
VMware Fusion 5 - Shared Folder (Read/Write) - Yet no write permissions in VM altjx Windows, Linux & Others on the Mac 2 Aug 29, 2013 10:19 AM
Question about file permissions in WordPress olup Web Design and Development 2 May 17, 2013 01:32 PM
New HD to Server -Write Permissions not working? whyrichard Mac OS X Server, Xserve, and Networking 1 Apr 25, 2013 01:35 PM
Having trouble with write permissions JPincus Mac OS X Server, Xserve, and Networking 0 Nov 19, 2012 10:28 AM

Forum Jump

All times are GMT -5. The time now is 03:05 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC