From owner-freebsd-questions Wed Oct 17 3:23:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.flashnet.it (libra.cyb.it [212.11.95.209]) by hub.freebsd.org (Postfix) with ESMTP id D36E237B405 for ; Wed, 17 Oct 2001 03:23:31 -0700 (PDT) Received: from smtp.flashnet.it (ip148.pool-173.cyb.it [195.191.181.149]) by relay2.flashnet.it (EMS-RELAY/8.10.0) with SMTP id f9HANIU24165 for ; Wed, 17 Oct 2001 12:23:24 +0200 Message-Id: <200110171023.f9HANIU24165@relay2.flashnet.it> To: freebsd-questions@FreeBSD.ORG X-Mailer: Post Road Mailer for OS/2 (Green Edition Ver 3.0) Date: Wed, 17 Oct 2001 12:23:17 EST From: Andrea Venturoli Reply-To: Andrea Venturoli Subject: Samba 2.2.1a, PDC, windows 2000 roaming profiles Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ** Reply to note from Dylan Carlson Tue, 16 Oct 2001 07:43:43 -0700 (PDT) > Either Samba or Win2K keeps screwing up the permissions in the roaming > profiles. Some files get chown'd as root, and the problems start. I find > that if I fix the permissions (and keep fixing them after the fact) the > profiles work fine. > > I have seen numerous postings to samba lists on this problem but as yet have > been unable to target a fix. > > Can anyone advise if this is fixed in a newer (CVS?) version of Samba, a new > BSD port, or if there are things that need to be adjusted on the [profiles] > share? > > [profiles] > path = /data/shares/profiles > admin users = root @wheel > read only = No > create mask = 0600 > directory mask = 0700 > hide dot files = No > browseable = Yes Putting these lines solved that problem for me: force directory mode = 700 force directory security mode = 700 force create mode = 500 force security mode = 500 For some reason it seems Win2000 would change the permission on some directory, this doesn't happen on NT. Also it seems "directory" mode does not always work with directory, but you need to use the "file" settings (as you can see above). All this with Samba 2.2.0 on FreeBSD 4.3-RELEASE. Bye av. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message