Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 1998 11:40:45 +0000 (GMT)
From:      Quintin Oliver <quintin@smlt.com>
To:        Don Read <sysop@calcasieu.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Samba troubles.
Message-ID:  <Pine.LNX.3.96.981203113709.10109A-100000@orion.smlt.com>
In-Reply-To: <3.0.5.32.19981201062443.00802100@mail>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 1 Dec 1998, Don Read wrote:

> back on 11:32 AM 12/1/98 +0000, you said:
> >
> >Hello again,
> >
> >I'm having a few problems with samba, I've setup the `smb.conf' to share
> >the user home directorys this works great and a *public* area where all
> >the lan users save there files.
> >
> >The problem:
> >
> >When user Mike saves a file in *public* `/home/samba/public' the file
> >automaticly sets the uid,gid to mike.mike, this means that user joe
> >doesn't have write access to Mike's files even if there public??
> >
> >This problem is screwing up our accounting software :-( does anyone know
> >of a solution to this?
> >
> 
> On my main samba server, all users are members of group 'user',
> and I run a script every 5 minutes from the root cron:
> 
> ============
> #!/bin/sh
> SMBDIR=/usr/share/samba
> for I in eis hr gl fr ross app/bmsfw/db
> do
>         find $SMBDIR/$I -exec chmod g+w {} \;
> done
> =============

Nice script, the only problem is that hundreds of files are accessed in
five minutes, for a friend a script similar to this worked very well, but
our accounting software doesn't :-( still a good script though :-))

Many Thanks,

Quintin.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.981203113709.10109A-100000>