[LUNI] Fine tuning my samba setup
Trev Peterson
trev at advanced-reality.com
Sun Jun 3 11:35:43 CDT 2007
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
More information about the luni
mailing list