<p><br>
On Jun 19, 2012 10:07 AM, &quot;Jayson Vaughn&quot; &lt;<a href="mailto:vaughn.jayson@gmail.com">vaughn.jayson@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Jun 19, 2012 8:46 AM, &quot;Neal Becker&quot; &lt;<a href="mailto:ndbecker2@gmail.com">ndbecker2@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Jayson Vaughn wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; I&#39;m confused.  As long as ~/.ssh is 700 it works for me.<br>
&gt; &gt; &gt; On Jun 19, 2012 8:02 AM, &quot;Neal Becker&quot; &lt;<a href="mailto:ndbecker2@gmail.com">ndbecker2@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt; It&#39;s been true for a long time that fedora sets up home dir as 775.<br>
&gt; &gt; &gt;&gt; But ssh, with default settings, won&#39;t allow public keys to work when<br>
&gt; &gt; &gt;&gt; home dir has mode 775.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Not only, but the poor new fedora user, who tries to ssh into his fedora<br>
&gt; &gt; &gt;&gt; box, won&#39;t see any message indicating what is wrong.  Only if he/she can<br>
&gt; &gt; &gt;&gt; be root and read var/log/secure they may learn the reason.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; This is rediculous.  I liked the idea of 775 when it was introduced, since<br>
&gt; &gt; &gt;&gt; it<br>
&gt; &gt; &gt;&gt; did solve an annoyance with the old unix groups.  But then we should make<br>
&gt; &gt; &gt;&gt; the<br>
&gt; &gt; &gt;&gt; default fedora install work by setting the sshd config to allow it to<br>
&gt; &gt; &gt;&gt; accept<br>
&gt; &gt; &gt;&gt; this setup.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt;&gt; devel mailing list<br>
&gt; &gt; &gt;&gt; <a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
&gt; &gt; &gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/devel">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
&gt; &gt;<br>
&gt; &gt; Are you sure??<br>
&gt; &gt;<br>
&gt; &gt; ls -ld .ssh<br>
&gt; &gt; drwx------. 2 nbecker nbecker 4096 Jun 15 08:25 .ssh<br>
&gt; &gt;<br>
&gt; &gt; ls -ld ~/<br>
&gt; &gt; drwxrwxr-x. 67 nbecker nbecker 4096 Jun 19 06:54 /home/nbecker/<br>
&gt; &gt;<br>
&gt; &gt; Jun 19 09:44:41 nbecker5 sshd[25418]: Authentication refused: bad ownership or<br>
&gt; &gt; modes for directory /home/nbecker<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; devel mailing list<br>
&gt; &gt; <a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
&gt; &gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/devel">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
&gt;<br>
&gt; Well, yes it works for me however my home directories are not created with 775 permissions by default.  Everytime I use &quot;useradd&quot; the home directory is created as 700 - as it should be.<br>
&gt;<br>
&gt; Your home directories are created with permissions 775 by default?</p>
<p>What is your UMASK value in /etc/login.defs?  It should be 077, which creates the home directories as 700.</p>