[LUNI] Fine tuning my samba setup
Jay Strauss
me at heyjay.com
Tue Jun 12 22:59:35 CDT 2007
On 6/3/07, Trev Peterson <trev at advanced-reality.com> wrote:
> Hey Jay,
>
> The problem is that the access rules are changing. Samba will assume
> they are the same for each subdir unless you tell it differently (via a
> new share). So for example you have:
>
> /opt/FCM which is read/write by everyone but only the owner can
> read/write their files
>
> /opt/FCM/everyone which is read/write by everyone (as FCM or via group)
> and everyone can see the all the files
>
> The access rules from /opt/FCM have changed. If
>
> /opt/FCM/everone/dir1 is read/write by everyone but only the owner can
> read/write their files
>
> The access rules from /opt/FCM/everyone have changed.
>
>
> By changing your directory structure to something like:
>
> /opt/FCM (read/write by everyone)
> /opt/FCM/jblum (read/write by jblum and jstrauss)
> /opt/FCM/phillips (read/write by jblum and jstrauss)
>
> you minimizes the number of times the access rules change and simplify
> the configuration. You still need to change the config (read make a new
> share) each time the access rules change. You can likely find a hack
> around this (by using the file-system behaviour) but it will likely be
> ugly and not easily maintained (I can think of one possibility but don't
> recommend it).
>
> I hope this explains what I meant,
>
> Trev
>
> On Sun, 2007-06-03 at 07:44 -0500, Jay Strauss wrote:
>
> > Trev,
> >
> > I'm unsure about what you mean about "tell samba what rules you want
> > each time they change"?
> >
> > Thanks
> > Jay
> --
> Trev Peterson
> Advanced Reality
> Email: trev at advanced-reality.com
> Phone: +1 847 406 9018
Trev, I ended up going down the route your suggested, and just changed
my dir structure. Most of the bugs are worked out.
Thanks
Jay
More information about the luni
mailing list