<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: File upload permission</title>
		<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission</link>
		<description>Gravity Support Forums Topic: File upload permission</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 17:58:01 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/file-upload-permission" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-19869</link>
			<pubDate>Thu, 03 Mar 2011 17:36:04 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">19869@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the feedback!&#60;br /&#62;
We have added a hook to 1.5 that you can use to set the file permissions without changing a core file. Keep an eye on our next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-19618</link>
			<pubDate>Tue, 01 Mar 2011 05:03:27 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">19618@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;I managed to solve this myself by changing:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(move_uploaded_file($file[&#38;#39;tmp_name&#38;#39;], $target[&#38;quot;path&#38;quot;])){
			return $target[&#38;quot;url&#38;quot;];
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(move_uploaded_file($file[&#38;#39;tmp_name&#38;#39;], $target[&#38;quot;path&#38;quot;])){
			chmod( $target[&#38;quot;path&#38;quot;] , 0644 );
			return $target[&#38;quot;url&#38;quot;];
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Otherwise it wouldn't be solvable in my case, although every server setting is set right. Happy with my solution in the end :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-18218</link>
			<pubDate>Thu, 10 Feb 2011 13:46:50 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18218@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms does not explicitly set the file permissions. If the owner is setup to use 644 then file uploads from Gravity Forms should be using 644 also.  Gravity Forms is not setting the file permissions, it's leaving it up to the server to set the file permissions. The server should be using the default file permissions for the owner, which should be 644.  Your server obviously isn't setup for the default owner of file uploads to use 644 which is why they are storing as 600.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-18215</link>
			<pubDate>Thu, 10 Feb 2011 13:33:25 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">18215@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;Thanks for the response. It has not been working before. I am using this on a newly developed site and the other sites i've used the plugin on, doesn't use the file upload. This is my first use and it has not ever worked for me.&#60;/p&#62;
&#60;p&#62;I am aware of the owner setup, and this is correct every time. That's why it must be in the script somewhere.&#60;/p&#62;
&#60;p&#62;I would be glad if you could come up with a solution to write the files with the right permission.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;br /&#62;
Melvin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-18213</link>
			<pubDate>Thu, 10 Feb 2011 13:27:21 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18213@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We are aware it's possible to  set the file permission with PHP, however it's not typically needed.  This is the first time this issue has come up.  Default file permissions are set based on the owner of the files, and typically this default 'owner' has the correct file permissions assigned to them (644).  &#60;/p&#62;
&#60;p&#62;If this was working before, and now it is not it means something changed with your web host.  Your web host has changed the defaults.  The script hasn't changed, your web host changed something on their end.&#60;/p&#62;
&#60;p&#62;For example if your web server is running apache then by default file uploads would be 'owned' by apache and receive apache's default file permissions.  Typically this is 644.&#60;/p&#62;
&#60;p&#62;So this has to do with the settings your host has on the user that owns files that are uploaded by default.  They had to have changed something for this issue to start happening.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-18183</link>
			<pubDate>Thu, 10 Feb 2011 08:22:17 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">18183@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, anyone that can help? My hoster blaims it on the script, so i'm kind of stuck here!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-17529</link>
			<pubDate>Thu, 03 Feb 2011 08:40:38 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">17529@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Still, all files are added with 600 permissions while they should be with 644 permissions. Anyone that can help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-17388</link>
			<pubDate>Tue, 01 Feb 2011 06:36:51 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">17388@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, how is it that normally every file is added in 644 and now as 600? I remember it to be a WP-hook which must be applied in the plugin files, is that correct?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-17385</link>
			<pubDate>Tue, 01 Feb 2011 06:30:10 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">17385@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;GF does not set file permissions when uploading files. You will need to talk to your hosting folks and ask them to change the default permissions for the wp-content/uploads folder.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MellyVille on "File upload permission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-permission#post-17295</link>
			<pubDate>Mon, 31 Jan 2011 06:07:30 +0000</pubDate>
			<dc:creator>MellyVille</dc:creator>
			<guid isPermaLink="false">17295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;File upload is working great, it's just that files are placed on the server with 600 permission, while i need them to be 644 in order for me to download the files directly from the link that's mailed to me.&#60;/p&#62;
&#60;p&#62;Where can i set GF to use 644 instead of 600?&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
