[Lula] Linux file system question

Dan Kegel dank at kegel.com
Thu Nov 1 11:37:44 EDT 2007


On 11/1/07, TheBlueSage <tbs at bsvn.net> wrote:
> I need to create a 'symlink' or something somehow, so that the contents
> of foo show up in bar, but the contents of bar do not show up in foo.
> E.G.
>
> thus when I do an 'ls' of 'foo' I see :
> text1.txt
> text2.txt
>
> but when I do an 'ls' of 'bar' I see :
> text1.txt
> text2.txt
> text3.txt
> text4.txt
>
> The reason is that I have people submitting templates for a template
> system. The main system reads these templates from a common directory,
> but I want people to submit their templates to their own individual
> directories so that they can only see/add to/delete their own templates
> and not anyone elses. an 'ls' of the 'real' template directory would
> show the contents of the container directory *and* the contents of the
> other peoples directories.....

You could try a union mount, maybe:
http://lwn.net/Articles/243616/
but I don't know if that's in the vanilla kernel yet.
- Dan



More information about the Lula mailing list