<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Files and Images upload problem 'fix'</title>
			<link>http://www.silverstripe.org/archive/show/161583#post161583</link>
			<description>&lt;p&gt;Hey SSers,&lt;br /&gt;Im not sure if this is a great 'fix' - whether its a security problem or is just wrong, fullstop.&lt;/p&gt;&lt;p&gt;When I put a site live or transfer the site from a test domain to the live domain I always seem to get one of two problems with the Files and Images tab. &lt;br /&gt;Either:&lt;br /&gt;1. The files upload but they do not re-sample&lt;br /&gt;or&lt;br /&gt;2. Uploading files results in an error + you cant create new folders&lt;/p&gt;&lt;p&gt;The folders within the assets folder are 755 and the user is ftp-username and group is pascln&lt;/p&gt;&lt;p&gt;So...&lt;/p&gt;&lt;p&gt;The way I 'fix' this is by setting the permissions on the assets folder as 777.&lt;br /&gt;You can then create new folders that then have the permissions of 775 by default and have its user and group set to www-data.&lt;br /&gt;Files can now be uploaded, thumbnails created and images inserted and displaying on the site.&lt;/p&gt;&lt;p&gt;Does this work with other people? Is it a security problem as I, to be honest, don't really know my permissions and what they do, along with my php ability ; )&lt;/p&gt;&lt;p&gt;What do you think?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Files and Images upload problem 'fix' &lt;a href=&quot;http://www.silverstripe.org/archive/show/161583#post161583&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/161583#post161583&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sat, 06 Sep 2008 02:45:23 +1200</pubDate>
			<dc:creator>Pixel</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/161583#post161583</guid>
		</item>
		

	</channel>
</rss>