<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Permissions on passthejoe</title>
    <link>https://relvokcor.xyz/~passthejoe/hugo/blog/permissions/</link>
    <description>Recent content in Permissions on passthejoe</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2025, Steven Rosenberg.</copyright>
    <lastBuildDate>Sun, 14 Jul 2019 19:56:40 -0700</lastBuildDate>
    <atom:link href="https://relvokcor.xyz/~passthejoe/hugo/blog/permissions/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Permissions are hard</title>
      <link>https://relvokcor.xyz/~passthejoe/hugo/permissions-are-hard/</link>
      <pubDate>Sun, 14 Jul 2019 19:56:40 -0700</pubDate>
      <guid>https://relvokcor.xyz/~passthejoe/hugo/permissions-are-hard/</guid>
      <description>&lt;p&gt;Figuring out file and directory permissions on a server is hard.&lt;/p&gt;&#xA;&lt;p&gt;You have to balance security with functionality. What are the most restrictive permissions you can set and still have everything work?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Set umask in vsftpd so incoming files have 644 permissions</title>
      <link>https://relvokcor.xyz/~passthejoe/hugo/set-umask-in-vsftpd-so-incoming-files-have-644-permissions/</link>
      <pubDate>Sun, 14 Jul 2019 13:09:18 -0700</pubDate>
      <guid>https://relvokcor.xyz/~passthejoe/hugo/set-umask-in-vsftpd-so-incoming-files-have-644-permissions/</guid>
      <description>&lt;p&gt;If you are setting up an FTP server (I&amp;rsquo;m using &lt;em&gt;vsftpd&lt;/em&gt; in Debian Buster), setting the umask is the way you get incoming files to &amp;ldquo;take&amp;rdquo; the right permissions.&lt;/p&gt;&#xA;&lt;p&gt;For text files, I like the permissions to be &lt;code&gt;644&lt;/code&gt;, which is &lt;code&gt;rw-r--r--&lt;/code&gt; (read-write for user, read for group, read for the world).&lt;/p&gt;&#xA;&lt;p&gt;To get this in vsftpd, uncomment this line:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;local_umask=022&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
