<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sun May 19, 2013 7:53 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sun May 19, 2013 7:53 pm</pubDate>
  <lastBuildDate>Sun May 19, 2013 7:53 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Idiots' guide to file permissions for new files</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=109675#109675</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3831'&gt;cmcevoy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Dec 11, 2012 9:42 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks. I think I'd ended up with too many ACLs set, but since you confirmed I was on the right track I cleared them all then reset&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;setfacl -m d&amp;#58;g&amp;#58;users&amp;#58;rwx Shared&lt;br /&gt;
setfacl -m d&amp;#58;g&amp;#58;adults&amp;#58;rwx Secure&lt;br /&gt;
setfacl -m d&amp;#58;o&amp;#58;x Secure&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
and this seems to give what I want. Thanks for your encouragement.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=109675#109675</comments>
                                        <author>cmcevoy</author>
                                        <pubDate>Tue Dec 11, 2012 9:42 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=109675#109675</guid>
                                      </item>
                                      <item>
                                        <title>Re: Idiots' guide to file permissions for new files</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=109670#109670</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Dec 11, 2012 12:03 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Default permissions for new files and directories follow the umask setting, but this is set per filesystem rather than per directory.&lt;br /&gt;
&lt;br /&gt;
You really should be persevering with ACLs, this is exactly the type of situation they deal with. Rather than trying to re-invent the wheel, and probably ending up with a square one, it would be better to look at why ACLs don't do what you want.&lt;br /&gt;
&lt;br /&gt;
Like most other software, setfacl does what you tell it to, not what you want it to, so post what you want, what you tried and what you actually got.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=109670#109670</comments>
                                        <author>nelz</author>
                                        <pubDate>Tue Dec 11, 2012 12:03 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=109670#109670</guid>
                                      </item>
                                      <item>
                                        <title>Idiots' guide to file permissions for new files</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=109668#109668</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3831'&gt;cmcevoy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Dec 10, 2012 11:28 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I have several users. All belong to group 'users' and some to group 'adults'&lt;br /&gt;
There are two directories: &lt;br /&gt;
'Shared' is owned by :users, directory permissions 777, files 664&lt;br /&gt;
'Secure' is owned by :adults, directory permissions 770, files 660&lt;br /&gt;
&lt;br /&gt;
All I want is for new files and subdirectories to follow this stucture. I've failed using GUID and failed using ACLs although I suspect that is the solution really.&lt;br /&gt;
Running 'find &amp;lt;...&amp;gt; | xargs chmod' every so often works, but surely there is a better way?&lt;br /&gt;
&lt;br /&gt;
I'll provide the idiot if you provide the guide?&lt;br /&gt;
Thanks</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=109668#109668</comments>
                                        <author>cmcevoy</author>
                                        <pubDate>Mon Dec 10, 2012 11:28 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=109668#109668</guid>
                                      </item></channel></rss>