From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 01:06:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6375616A46E for ; Sat, 20 Oct 2007 01:06:28 +0000 (UTC) (envelope-from jason@vlaze.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2252213C44B for ; Sat, 20 Oct 2007 01:06:27 +0000 (UTC) (envelope-from jason@vlaze.com) Received: by rv-out-0910.google.com with SMTP id l15so526902rvb for ; Fri, 19 Oct 2007 18:06:27 -0700 (PDT) Received: by 10.114.66.2 with SMTP id o2mr2662118waa.1192840697461; Fri, 19 Oct 2007 17:38:17 -0700 (PDT) Received: from HAMMER ( [76.173.119.225]) by mx.google.com with ESMTPS id y11sm3602087pod.2007.10.19.17.38.15 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Oct 2007 17:38:15 -0700 (PDT) From: "Jason Dobyns" To: Date: Fri, 19 Oct 2007 17:37:59 -0700 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcgSsXcV8yJzYpPXS7ieFV35A7xR3A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Message-ID: <47194df7.0b97600a.150b.2c76@mx.google.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Linux samba server, Freebsd client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 01:06:28 -0000 Hello, My smb server is run from a linux CentOS 5 machine. When I mount the share in Freebsd all the files are owned by root SMB Server permissions -rwxrwxr-x 1 httpd httpd 21868 Oct 17 22:06 index.php Freebsd Client Share permissions -rwxr-xr-x 1 root wheel 21868 Oct 18 05:06 index.php I have the httpd user and group with matching UID and GID on the freebsd client. What do I have to do to get the permissions to come through. Do I need an option on the mount_smbfs command? smb.conf [global] workgroup = vlaze server string = storage1.blahblah.com encrypt passwords = True security = user smb passwd file = /etc/smbpasswd log file = /var/log/samba/log.%m socket options = IPTOS_LOWDELAY TCP_NODELAY dns proxy = No name resolve order = lmhosts host bcast bind interfaces only = True interfaces = eth1 hosts allow = ALL debug level = 1 create mask = 0777 directory mask = 0777 level2 oplocks = True read raw = no write cache size = 262144 read raw = yes write raw = yes log level = 3 # Default is 0 oplocks = yes # Default max xmit = 65535 # Default dead time = 15 # Default is 0 getwd cache = yes [vlaze] path = /opt/www writable = Yes validusers = smbuser Thank You, Jason Dobyns