<?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>Racker Hacker &#187; ftp</title>
	<atom:link href="http://rackerhacker.com/tag/ftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:07:41 +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>Fix MacFusion on Snow Leopard</title>
		<link>http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/</link>
		<comments>http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 16:21:23 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macfusion]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=994</guid>
		<description><![CDATA[Running OS X 10.6.3? William Fennie found a fix on Google Groups. First off, credit for this fix on OS X 10.6.2 goes to Geoff Watts from his two tweets. If you're using Snow Leopard, you'll find that the current version of MacFusion refuses to complete a connection to a remote server. You can fix [...]<p><a href="http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/">Fix MacFusion on Snow Leopard</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Running OS X 10.6.3?</strong> William Fennie <a href="http://groups.google.com/group/macfuse/browse_thread/thread/3c611784177843f0/3f02a6efd38f4b30?show_docid=3f02a6efd38f4b30">found a fix on Google Groups</a>.</p>
<p>First off, credit for this fix on <strong>OS X 10.6.2</strong> goes to <a href="https://twitter.com/geoffwatts">Geoff Watts</a> from his <a href="http://twitter.com/geoffwatts/status/3605414263">two</a> <a href="http://twitter.com/geoffwatts/status/3605464669">tweets</a>.</p>
<p>If you're using Snow Leopard, you'll find that the current version of MacFusion refuses to complete a connection to a remote server.  You can fix this in two steps:</p>
<p>First, quit MacFusion.</p>
<p>Second, open System Preferences and then open the MacFUSE pane.  Check the "Show Beta Versions" box and click "Check For Updates".  Go ahead and update MacFUSE.</p>
<p>Third, open up a terminal and do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">rm /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/sshnodelay.so</pre></div></div>

<p>Your MacFusion installation should now be working on Snow Leopard.  I've tested SSH and FTP connectivity so far, and they both appear to be working.  Thanks again to Geoff for the fix!</p>
<p><a href="http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/">Fix MacFusion on Snow Leopard</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>142</slash:comments>
		</item>
		<item>
		<title>Adding SSL encryption to vsftpd</title>
		<link>http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/</link>
		<comments>http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 18:21:54 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/</guid>
		<description><![CDATA[There may be some situations where you want to encrypt FTP traffic with SSL certificates rather than using SFTP with SSH. Using vsftpd with SSL encryption is quite easy, and here's how it's done: First, you'll need to make a new self-signed SSL certificate (if you don't have a key and certificate available already): openssl [...]<p><a href="http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/">Adding SSL encryption to vsftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>There may be some situations where you want to encrypt FTP traffic with SSL certificates rather than using SFTP with SSH.  Using vsftpd with SSL encryption is quite easy, and here's how it's done:</p>
<p>First, you'll need to <a href="http://rackerhacker.com/2007/08/02/generate-self-signed-certificate-and-key-in-one-line/">make a new self-signed SSL certificate</a> (if you don't have a key and certificate available already):</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout server.key -out server.crt</pre></div></div>

<p>Once you have the key and certificate made, you'll need to concatenate them into a PEM file:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># cat server.key &gt; /etc/vsftpd/server.pem
# cat server.crt &gt;&gt; /etc/vsftpd/server.pem</pre></div></div>

<p>Now, simply adjust the vsftpd configuration file to enable SSL encryption:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">ssl_enable=YES
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd/server.pem</pre></div></div>

<p>Once that's complete, restart vsftpd and you will be able to connect to your FTP server using SSL/TLS encryption.</p>
<p>Further Reading:<br />
<a href="http://vsftpd.beasts.org/vsftpd_conf.html">Manpage of vsftpd.conf</a></p>
<p><a href="http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/">Adding SSL encryption to vsftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/11/26/adding-ssl-encryption-to-vsftpd/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>500 OOPS error from vsftpd</title>
		<link>http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/</link>
		<comments>http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 23:14:51 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/</guid>
		<description><![CDATA[If you find yourself with the ever-so-peculiar 500 OOPS error from vsftpd when you attempt to login over SSH, there could be a few different things at play. Generally, this is the type of error you will get: 500 OOPS: cannot change directory:/home/someuser 500 OOPS: child died You can search for a solution in this [...]<p><a href="http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/">500 OOPS error from vsftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>If you find yourself with the ever-so-peculiar <b>500 OOPS</b> error from vsftpd when you attempt to login over SSH, there could be a few different things at play.  Generally, this is the type of error you will get:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">500 OOPS: cannot change directory:/home/someuser
500 OOPS: child died</pre></div></div>

<p>You can search for a solution in this order:</p>
<p><b>Home Directory</b><br />
Does the user's home directory even exist?  Check <code>/etc/passwd</code> for the current home directory for the user and see what's set:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># grep someuser /etc/passwd
someuser:x:10001:2524::/var/www/someuser:/bin/bash</pre></div></div>

<p>In this case, does <code>/var/www/someuser</code> exist?  If it doesn't, fix that and then move onto the next solution if you're still having problems.</p>
<p><b>File/Directory Permissions</b><br />
Be sure that the user that you are logging in as actually has permissions to be in the directory.  This affects users that have home directories of <code>/var/www/html</code> because the execute bit normally isn't set for the world on <code>/var/www</code> or <code>/var/www/html</code>.  Make sure that the appropriate permissions and ownerships are set, and this should help eliminate the issue.</p>
<p><b>SELINUX</b><br />
If SELINUX is rearing its ugly head on the server, this can be a problem.  Check your current SELINUX status and disable it if necessary:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># setenforce
Enforcing
# setenforce 0</pre></div></div>

<p>Try to login over FTP again and you should have a success.  If you want to turn off SELINUX entirely, adjust <code>/etc/sysconfig/selinux</code> (RHEL4) or <code>/etc/selinux/config</code> (RHEL5).</p>
<p><a href="http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/">500 OOPS error from vsftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/06/14/500-oops-error-from-vsftpd/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Show hidden dot files in proftpd</title>
		<link>http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/</link>
		<comments>http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/#comments</comments>
		<pubDate>Thu, 17 May 2007 01:46:59 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/</guid>
		<description><![CDATA[If you can't see hidden files in proftpd (the files beginning with a dot, like .htaccess), you can enable the option in your client. However, you can force the files to be displayed in almost all clients with a server wide variable in your proftpd.conf: ListOptions -a Make sure to restart proftpd afterwards and re-connect [...]<p><a href="http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/">Show hidden dot files in proftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>If you can't see hidden files in proftpd (the files beginning with a dot, like .htaccess), you can enable the option in your client.  However, you can force the files to be displayed in almost all clients with a server wide variable in your proftpd.conf:</p>
<p><code>ListOptions -a</code></p>
<p>Make sure to restart proftpd afterwards and re-connect to the FTP server to see the changes.</p>
<p><a href="http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/">Show hidden dot files in proftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/05/16/show-hidden-dot-files-in-proftpd/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Add SSL/TLS support to proftpd</title>
		<link>http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/</link>
		<comments>http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/#comments</comments>
		<pubDate>Thu, 17 May 2007 01:45:37 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/</guid>
		<description><![CDATA[To enable SSL/TLS support in proftpd, add the following to the proftpd.conf file: &#60;IfModule mod_tls.c&#62; TLSEngine on TLSLog /var/ftpd/tls.log TLSRequired off TLSRSACertificateFile /usr/share/ssl/certs/server.crt TLSRSACertificateKeyFile /usr/share/ssl/private/server.key TLSCACertificateFile /usr/share/ssl/certs/cacert.crt TLSVerifyClient off TLSRenegotiate required off &#60;/IfModule&#62; To require SSL/TLS on all connections, change TLSRequired to on. Of course, replace the certificate, key, and CA certificate (if applicable) to [...]<p><a href="http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/">Add SSL/TLS support to proftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>To enable SSL/TLS support in proftpd, add the following to the proftpd.conf file:</p>
<pre>&lt;IfModule mod_tls.c&gt;
    TLSEngine on
    TLSLog /var/ftpd/tls.log
    TLSRequired off
    TLSRSACertificateFile /usr/share/ssl/certs/server.crt
    TLSRSACertificateKeyFile /usr/share/ssl/private/server.key
    TLSCACertificateFile /usr/share/ssl/certs/cacert.crt
    TLSVerifyClient off
    TLSRenegotiate required off
&lt;/IfModule&gt;</pre>
<p>To <b>require</b> SSL/TLS on all connections, change <code>TLSRequired</code> to <b>on</b>.  Of course, replace the certificate, key, and CA certificate (if applicable) to the correct files on your system.</p>
<p>Once you're all done, close your FTP connection and make a new one. There is no need to restart xinetd.</p>
<p><a href="http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/">Add SSL/TLS support to proftpd</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/05/16/add-ssltls-support-to-proftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding chrooted FTP users outside of Plesk</title>
		<link>http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/</link>
		<comments>http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 15:51:59 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/</guid>
		<description><![CDATA[To add a chrooted FTP user outside of Plesk properly, you need to: Create the user with the home directory as the root of what they can access Give the user a password Make their primary group psacln Add them to the psaserv group as well # useradd username -d /var/www/html/website/slideshow/ # echo "password" &#124; [...]<p><a href="http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/">Adding chrooted FTP users outside of Plesk</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>To add a chrooted FTP user outside of Plesk properly, you need to:</p>
<ul>
<li>Create the user with the home directory as the root of what they can access</li>
<li>Give the user a password</li>
<li>Make their primary group psacln</li>
<li>Add them to the psaserv group as well</li>
</ul>
<p><code># useradd username -d /var/www/html/website/slideshow/<br />
# echo "password" | passwd username --stdin<br />
Changing password for user username.<br />
passwd: all authentication tokens updated successfully.<br />
# usermod -g psacln username<br />
# usermod -G psaserv username<br />
# lftp username:password@localhost<br />
lftp username@localhost:/> cd ..<br />
lftp username@localhost:/></code></p>
<p><a href="http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/">Adding chrooted FTP users outside of Plesk</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ProFTPD shows incorrect GMT time with Plesk</title>
		<link>http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/</link>
		<comments>http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 19:13:01 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/</guid>
		<description><![CDATA[A really really strange issue randomly appears with ProFTPD and Plesk occasionally. On the filesystem, a file will have a correct creation/modification date, but then when you view it over FTP, it's always off by the amount of hours you differ from GMT. For example, if the server is on Central Time, all of the [...]<p><a href="http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/">ProFTPD shows incorrect GMT time with Plesk</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>A really really strange issue randomly appears with ProFTPD and Plesk occasionally.  On the filesystem, a file will have a correct creation/modification date, but then when you view it over FTP, it's always off by the amount of hours you differ from GMT.  </p>
<p>For example, if the server is on Central Time, all of the files will seem to be created 6 hours after they were really created.  The filesystem will show something like 10AM, but the FTP client will say 4PM.  Luckily, <b>there is a fix!</b></p>
<p>Add the following to your /etc/proftpd.conf file and you should be good to go:</p>
<p><code>TimesGMT off<br />
SetEnv TZ :/etc/localtime</code></p>
<p><a href="http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/">ProFTPD shows incorrect GMT time with Plesk</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enabling SSL in ProFTPD</title>
		<link>http://rackerhacker.com/2007/02/08/enabling-ssl-in-proftpd/</link>
		<comments>http://rackerhacker.com/2007/02/08/enabling-ssl-in-proftpd/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 23:28:18 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://fix.mhtx.net/2007/02/08/enabling-ssl-in-proftpd/</guid>
		<description><![CDATA[If you need to enable SSL in ProFTPD, try this out: &#60;IfModule mod_tls.c&#62; TLSEngine on TLSRequired off TLSRSACertificateFile /etc/httpd/conf/ssl.crt/server.crt TLSRSACertificateKeyFile /etc/httpd/conf/ssl.key/server.key TLSVerifyClient off &#60;/IfModule&#62; Enabling SSL in ProFTPD is a post from: Major Hayden's Racker Hacker blog. Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of [...]<p><a href="http://rackerhacker.com/2007/02/08/enabling-ssl-in-proftpd/">Enabling SSL in ProFTPD</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>If you need to enable SSL in ProFTPD, try this out:</p>
<p><code>&lt;IfModule mod_tls.c&gt;<br />
    TLSEngine on<br />
    TLSRequired off<br />
    TLSRSACertificateFile /etc/httpd/conf/ssl.crt/server.crt<br />
    TLSRSACertificateKeyFile /etc/httpd/conf/ssl.key/server.key<br />
    TLSVerifyClient off<br />
&lt;/IfModule&gt;</code></p>
<p><a href="http://rackerhacker.com/2007/02/08/enabling-ssl-in-proftpd/">Enabling SSL in ProFTPD</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2007/02/08/enabling-ssl-in-proftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group Editing With FTP</title>
		<link>http://rackerhacker.com/2006/12/26/group-editing-with-vsftpd/</link>
		<comments>http://rackerhacker.com/2006/12/26/group-editing-with-vsftpd/#comments</comments>
		<pubDate>Wed, 27 Dec 2006 03:44:55 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[ftp]]></category>

		<guid isPermaLink="false">http://fix.mhtx.net/2006/12/26/group-editing-with-vsftpd/</guid>
		<description><![CDATA[So you have multiple users that need to read and write to certain files on the filesystem? This can be done with vsftpd or proftpd quite easily. Let's say you have users called ann, bill and carl and they need to manage files in /var/www/html. Here's the steps: For vsftpd, change the umask for files [...]<p><a href="http://rackerhacker.com/2006/12/26/group-editing-with-vsftpd/">Group Editing With FTP</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>So you have multiple users that need to read and write to certain files on the filesystem?  This can be done with vsftpd or proftpd quite easily.  Let's say you have users called ann, bill and carl and they need to manage files in <b>/var/www/html</b>.  Here's the steps:</p>
<p><b>For vsftpd,</b> change the umask for files created by FTP users.  Open the vsftpd.conf file and edit the following:</p>
<pre>     local_umask = 077     <-- old
     local_umask = 022     <-- new</pre>
<p><b>For proftpd,</b> change the umask for files created by FTP users.  Open the proftpd.conf file and edit the following:</p>
<pre>     Umask 022</pre>
<p>This makes sure that new files are chmodded as 775 (full read/write for users/group, but only read for everyone else).</p>
<p>Next, create a new group.  We will call ours "sharedweb":</p>
<pre>     groupadd sharedweb</pre>
<p>Now, put the users into that group by adding them in /etc/group:</p>
<pre>     sharedweb:*:##:ann,bill,carl</pre>
<p>Modify the users so that their primary group is sharedweb.  If you forget this step, when they make new FTP files, they will be owned by each user's primary group (sometimes named the same as the user on some systems) and the permissions will be completeld hosed.</p>
<pre>     usermod -g ann sharedweb
     usermod -g bill sharedweb
     usermod -g carl sharedweb</pre>
<p>Restart vsftpd to pick up the new configuration and your users should be able upload, delete, and edit each other's files.</p>
<p><a href="http://rackerhacker.com/2006/12/26/group-editing-with-vsftpd/">Group Editing With FTP</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2006/12/26/group-editing-with-vsftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

