[Tfug] samba & shared directories

Samuel Hart tfug@tfug.org
Sat Dec 21 15:50:01 2002


Actually, it turned out to be a far simpler (and more embarrassing)
solution.

I hadn't set the path SUID to the group in question (/usr2/lab was not
SUID to lab). So it was an underlying OS problem and had nothing to do
with samba.

So, I was basically making my problem a lot more compicated than it
needed to be ;-)

On Fri, 2002-12-20 at 14:58, Anthony Steckman wrote:
> 
> Okay.
> 
> Crazy, untested idea #2:
> 
> Assuming foonly and hart are actual declared members of a group called 
> lab, "force group = %G" might work.
> 
> I found a sample smb.conf online where "force group = groupname" was 
> commented out and replaced with the suggested declaration. Another 
> resource defines %G as "Primary group of %U" where %U is the "Username 
> the client requested at session setup".

-- 
Sam "Criswell" Hart <criswell@geekcomix.com> AIM, Yahoo!: <criswell4069>
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Tux4Kids: < http://www.tux4kids.org/ >