From owner-freebsd-ports@FreeBSD.ORG Thu Oct 28 15:15:44 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA2D1065695 for ; Thu, 28 Oct 2010 15:15:44 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1A18FC17 for ; Thu, 28 Oct 2010 15:15:43 +0000 (UTC) Received: by vws12 with SMTP id 12so346128vws.13 for ; Thu, 28 Oct 2010 08:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=oEZu4rkxtdqxisUHhdrZC5bcajkTwFDDQ8kMhD8KEJY=; b=NhnaJ5WqK4wjyKbWeESMLiVHn8B0A5/AZB+fAFiBh3Ve6+1JqSO96n4kOd4Qid0yVV A/A5Wb8Ycgl4uYwvjaFarafQbbEdbHEr/JNhDhNkJ4FYqic3B/p7Ch/kfXjsRjmTKt93 K/+oOm7e0ux4sxKHsJ4sUcV0lpb8ErP1kKRhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iiOiMzLikyokruqM7wjF7x+qZMJICAJIgW5Fs1YBz4dHLNwaz/onUyzTdOm+d2whBf FBTMjAuCBzr/G+5n+tAqIM/LlSkdHWk3Y3EiUwTIOtETfgLf/gciKnlVFpGdQ0FyP8MY aNcAsCBf3rBz2uPZR23vhmQsLtfGt+PbcZ0Yg= MIME-Version: 1.0 Received: by 10.142.223.21 with SMTP id v21mr264439wfg.18.1288278941946; Thu, 28 Oct 2010 08:15:41 -0700 (PDT) Received: by 10.142.222.8 with HTTP; Thu, 28 Oct 2010 08:15:41 -0700 (PDT) In-Reply-To: <4CC910CB.40406@twisted.net> References: <4CC910CB.40406@twisted.net> Date: Thu, 28 Oct 2010 17:15:41 +0200 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: File ownership being changed to root:wheel ownership after copying to samba server X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 15:15:44 -0000 On Thu, Oct 28, 2010 at 7:57 AM, Troy wrote: > A very strange problem just started happening with Samba after I upgraded > to version samba34-3.4.9 on FreeBSD 8.0-STABLE. > > Let's say my username is foobar. I copy a file named To Fix.txt from a > windows desktop machine to a samba share. > > In the log it shows the following: > > [2010/10/28 00:53:16, 2] lib/access.c:406(check_access) > Allowed connection from 172.16.0.5 (172.16.0.5) > [2010/10/28 00:53:24, 2] smbd/open.c:580(open_file) > foobar opened file Working/To Fix.txt read=Yes write=Yes (numopen=2) > [2010/10/28 00:53:24, 2] smbd/close.c:612(close_normal_file) > foobar closed file Working/To Fix.txt (numopen=1) NT_STATUS_OK > > Then when I look at the owner:group of the file that was just copied it > shows: > > -rwxr-xr-x 1 root wheel 1422 Oct 27 16:07 To Fix.txt* > > I cannot figure out why the file is owned by root:wheel when it should be > foobar:foobar. > > Anyone have any ideas? > Likely a permissions / umask problem. Have you checked for sticky bits on the directory? > > > -Troy > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- mvh Torfinn