Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 1998 06:24:43 -0600
From:      Don Read <sysop@calcasieu.com>
To:        Quintin Oliver <quintin@smlt.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Samba troubles.
Message-ID:  <3.0.5.32.19981201062443.00802100@mail>
In-Reply-To: <Pine.LNX.3.96.981201112830.6107A-100000@orion.smlt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
=============

Regards,
-- 
Don Read                               sysop@calcasieu.com
EDP Manager                                dread@texas.net
Calcasieu Lumber Co.                             Austin TX
- Ya jes' mash that button, rite jher


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?3.0.5.32.19981201062443.00802100>