<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Sentel &#187; howto</title> <atom:link href="http://sentel.co/tag/howto/feed/" rel="self" type="application/rss+xml" /><link>http://sentel.co</link> <description>We create value for our customers  by designing and promoting websites  that speak to their audience&#039;s heart and mind</description> <lastBuildDate>Sun, 05 Feb 2012 10:23:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>WordPress Media Library: Upload error</title><link>http://sentel.co/2009/01/08/wordpress-upload-error/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-upload-error</link> <comments>http://sentel.co/2009/01/08/wordpress-upload-error/#comments</comments> <pubDate>Thu, 08 Jan 2009 14:31:48 +0000</pubDate> <dc:creator></dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[wordpress]]></category><guid
isPermaLink="false">http://www.sentel.co/?p=169</guid> <description><![CDATA[Running WordPress on a dedicated server is sometimes a tricky job, due to some server adjustments that need to be made. The most significant is the upload error we get, when we try to upload a media file from the WordPress administration panel. Usually the error message we get is something like this: “Unable to [...]]]></description> <content:encoded><![CDATA[<p>Running WordPress on a dedicated server is sometimes a tricky job, due to some server adjustments that need to be made. The most significant is the upload error we get, when we try to upload a media file from the WordPress administration panel.</p><p>Usually the error message we get is something like this:</p><p><strong><em><span
style="color: #800000;">“Unable to create directory /wp-content/uploads/ Is its parent directory writable by the server?”</span></em></strong></p><p>My first thought on that was to change the permissions on the uploads folder.</p><p>Easy huh ? Well apparently not.<br
/> The error message continued to appear.</p><p>So i tried a search to find a reasonable solution about my uploading problem. Unfortunately i couldn&#8217;t find one complete answer and it was sad to see that there is no official documentation from WordPress about the correct setup of a dedicated server.</p><p>However I tried to combine some suggestions from here and there.<br
/> Well it appears that this is NOT a permission&#8217;s problem. <strong>It is an ownership problem of the target folder</strong> (currently uploads). So we have to set <strong>root </strong>as the owner and the group</p><p>The solution is simple but we need shell access to our server and a  little experience in dealing with command line ;)</p><ol><li>First we have to login to our server using a client like <a
target="_blank" rel="nofollow" href="http://sentel.co/goto/http://en.wikipedia.org/wiki/PuTTY"  target="_blank">Putty</a> (in windows) or <a
target="_blank" rel="nofollow" href="http://sentel.co/goto/http://en.wikipedia.org/wiki/Apple_Terminal"  target="_blank">Terminal</a> (in OSX).</li><li>Then we &#8220;navigate&#8221; into our desired domain, into the parent folder, where our target folder for uploads exists.</li><li>Here, by typing <strong>ls -l</strong>, we can see the <strong>owner </strong>and the <strong>group</strong>, this folder belong to.</li><li>Type <strong>chown root uploads/ </strong>in order to make root, the owner of the folder</li><li>Then type <strong>chgrp root uploads/</strong> in order to change the group also, to root.</li></ol><p>Your uploads folder is ready. Very simple but for the most users of wordpress, who have little experience on server setup, quite tricky.</p> ]]></content:encoded> <wfw:commentRss>http://sentel.co/2009/01/08/wordpress-upload-error/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 291/325 objects using disk: basic

Served from: sentel.co @ 2012-02-05 13:40:01 -->
