<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
>

  <channel rdf:about="http://lwn.net/headlines/159077/">
    <title>LWN: Comments on "Shared subtrees"</title>
    <link>http://lwn.net/Articles/159077/</link>
    <description>
This is a special feed containing comments posted
to the individual LWN article titled &quot;Shared subtrees&quot;.

    </description>

    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>2</syn:updateFrequency>
    <items>
      <rdf:Seq>
	<rdf:li resource="http://lwn.net/Articles/166242/rss" />
	<rdf:li resource="http://lwn.net/Articles/162313/rss" />
	<rdf:li resource="http://lwn.net/Articles/162310/rss" />
	<rdf:li resource="http://lwn.net/Articles/161662/rss" />
	<rdf:li resource="http://lwn.net/Articles/160039/rss" />
	<rdf:li resource="http://lwn.net/Articles/159778/rss" />
	<rdf:li resource="http://lwn.net/Articles/159752/rss" />
	<rdf:li resource="http://lwn.net/Articles/159668/rss" />
	<rdf:li resource="http://lwn.net/Articles/159611/rss" />
	<rdf:li resource="http://lwn.net/Articles/159552/rss" />
	<rdf:li resource="http://lwn.net/Articles/159551/rss" />
	<rdf:li resource="http://lwn.net/Articles/159523/rss" />
	<rdf:li resource="http://lwn.net/Articles/159521/rss" />
	<rdf:li resource="http://lwn.net/Articles/159488/rss" />
	<rdf:li resource="http://lwn.net/Articles/159462/rss" />
	<rdf:li resource="http://lwn.net/Articles/159444/rss" />
	<rdf:li resource="http://lwn.net/Articles/159376/rss" />
	<rdf:li resource="http://lwn.net/Articles/159373/rss" />
      
      </rdf:Seq>
    </items>

  </channel>
    <item rdf:about="http://lwn.net/Articles/166242/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/166242/rss</link>
      <dc:date>2006-01-04T04:23:41+00:00</dc:date>
      <dc:creator>abartlet</dc:creator>
      <description>
      Closer to home, this is also the behaviour of smbmount, when the helper binary (smbmnt) is setuid.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/162313/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/162313/rss</link>
      <dc:date>2005-12-01T11:34:41+00:00</dc:date>
      <dc:creator>linuxram</dc:creator>
      <description>
      shared subtrees allows you to create identical mount trees at different locations. It does more than that, but in general it makes sure that the&lt;br&gt;
subtrees remain identical even after a series of mount and unmounts, in any of the subtrees.&lt;br&gt;
&lt;p&gt;
Chroot is a entirely different thing. It helps set a process up in a jail&lt;br&gt;
Once in a jail the process wont be able to access anything outside the directory tree. Neither do any of its children.&lt;br&gt;
&lt;p&gt;
But the combination of shared subtree and chroot togather have lot of applications. One example is mentioned in the article, where we can have a identical subtree for each user(thanks to shared subtree semantics). And each user can get jailed in its corresponding subtree (thanks to chroot).&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/162310/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/162310/rss</link>
      <dc:date>2005-12-01T11:21:26+00:00</dc:date>
      <dc:creator>linuxram</dc:creator>
      <description>
      the namespace terminology used here is bit off.  &lt;br&gt;
In Linux a namespace is the entire mount-tree. A namespace can be accessed only by the processes that created that namespace and all its children provided the child has not forked off its own namespace.&lt;br&gt;
&lt;p&gt;
The namespace terminology is used in this article to mean identical subtrees within a given namespace. &lt;br&gt;
&lt;p&gt;
Otherwise I feel the article has clearly and concisely touched upon this rather complicated idea.&lt;br&gt;
&lt;p&gt;
RP&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/161662/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/161662/rss</link>
      <dc:date>2005-11-26T06:14:47+00:00</dc:date>
      <dc:creator>csamuel</dc:creator>
      <description>
      DEC Ultrix did allow users to do NFS mounts onto directories that they &lt;br&gt;
owned.  Whether this is a bug or a feature is left as an exercise for the &lt;br&gt;
reader. &lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/160039/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/160039/rss</link>
      <dc:date>2005-11-15T02:06:22+00:00</dc:date>
      <dc:creator>proski</dc:creator>
      <description>
      My understanding is that chroot creates a new namespace whereas the shared subtrees patch configures relationships between the namespaces. The answer to your second question is probably negative.  It would be like implementing mkdir using chmod.

      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159778/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159778/rss</link>
      <dc:date>2005-11-12T09:59:47+00:00</dc:date>
      <dc:creator>lacostej</dc:creator>
      <description>
      How do shared trees and chroot relate?&lt;br&gt;
Is it possible to implement some kind of chroot using this?&lt;br&gt;
&lt;p&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159752/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159752/rss</link>
      <dc:date>2005-11-12T00:06:43+00:00</dc:date>
      <dc:creator>elanthis</dc:creator>
      <description>
      If the rule is &quot;any directory the user *owns*&quot; then world-writable directories wouldn't be a big problem.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159668/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159668/rss</link>
      <dc:date>2005-11-11T11:05:24+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      Yes; that would mean that only world-writable directories (which strike me as a really bad idea) would be `problematic'.&lt;br&gt;
&lt;p&gt;
(And for those of us giving each user their own /tmp, well, we can turn the sticky bit off and fix up the permissions so that only that user can write to it :) )&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159611/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159611/rss</link>
      <dc:date>2005-11-10T23:12:32+00:00</dc:date>
      <dc:creator>hazelsct</dc:creator>
      <description>
      Well, yes and no.  You still need some extra hacks to make package post-install scripts get everything right in all of the /etc sub-directories for example.  But you're right, this could make the process somewhat easier.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159552/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159552/rss</link>
      <dc:date>2005-11-10T19:22:56+00:00</dc:date>
      <dc:creator>iabervon</dc:creator>
      <description>
      Well, that case should be safe, since it happens before any users could be on the system (since the root directory of their namespaces hasn't been mounted yet, aside from anything else). Other uses might not be so safe, though.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159551/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159551/rss</link>
      <dc:date>2005-11-10T19:13:11+00:00</dc:date>
      <dc:creator>pointwood</dc:creator>
      <description>
      Yeah, I love the laughs I usually get while reading LWN :)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159523/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159523/rss</link>
      <dc:date>2005-11-10T17:37:19+00:00</dc:date>
      <dc:creator>smoogen</dc:creator>
      <description>
      I think this will help make diskless workstations also more maintainable. In this case you can have a master tree that you keep patched and then have your subtrees which are then exported to each workstation. You can patch the master and see the patches show up cleanly in the multiple workstations without having to patch each workstation. (Except for files in the workstation that are not shared :)).&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159521/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159521/rss</link>
      <dc:date>2005-11-10T17:25:18+00:00</dc:date>
      <dc:creator>rfunk</dc:creator>
      <description>
      mount --bind /subtree /subtree &lt;br&gt;
mount --make-unbindable /subtree &lt;br&gt;
 &lt;br&gt;
Looks like a race-condition vulnerability to me. &lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159488/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159488/rss</link>
      <dc:date>2005-11-10T14:58:50+00:00</dc:date>
      <dc:creator>jzbiciak</dc:creator>
      <description>
      How about &quot;any directory the user owns, or has write access to but does not have the sticky bit set&quot;?  Quick refresher on the sticky bit from the chmod(1) manpage:
&lt;PRE&gt;STICKY DIRECTORIES
       When  the sticky bit is set on a directory, files in that directory may
       be unlinked or renamed only by root or their owner.  Without the sticky
       bit,  anyone able to write to the directory can delete or rename files.
       The sticky bit is commonly found on directories, such as /tmp, that are
       world-writable.&lt;/PRE&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159462/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159462/rss</link>
      <dc:date>2005-11-10T12:17:50+00:00</dc:date>
      <dc:creator>petebull</dc:creator>
      <description>
      I like the filename on the mounted cdrom :) &lt;br&gt;
 &lt;br&gt;
Good pun. &lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159444/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159444/rss</link>
      <dc:date>2005-11-10T11:34:14+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      One thing that might be useful here is a modification to mount(1) that allows the mounting of filesystems of specific types (listed in /etc/user-mountable-filesystems?) by any user *on top of any directory that user has write access to*. (I'm slightly concerned about /tmp, but not very. /tmp should probably be remounted separately in each user's subtree in any case in a system making use of this patch.)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159376/rss">
      <title>Corrected</title>
      <link>http://lwn.net/Articles/159376/rss</link>
      <dc:date>2005-11-10T03:56:11+00:00</dc:date>
      <dc:creator>corbet</dc:creator>
      <description>
      Yes, it should.  Fixed now.
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/159373/rss">
      <title>Shared subtrees</title>
      <link>http://lwn.net/Articles/159373/rss</link>
      <dc:date>2005-11-10T03:52:37+00:00</dc:date>
      <dc:creator>npj</dc:creator>
      <description>
      Should this command example about 60% of the way through the article:&lt;br&gt;
    mount --bind /mnt /mnt&lt;br&gt;
    mount --make-shared /subtree&lt;br&gt;
&lt;p&gt;
Read like this instead:&lt;br&gt;
    mount --bind /mnt /mnt&lt;br&gt;
    mount --make-shared /mnt&lt;br&gt;
&lt;p&gt;
?&lt;br&gt;
      
      </description>
    </item>
</rdf:RDF>

