From owner-freebsd-questions Fri Dec 20 11:56:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A52737B401 for ; Fri, 20 Dec 2002 11:56:55 -0800 (PST) Received: from visimation.com (visimation.com [206.169.230.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id B84C143EEC for ; Fri, 20 Dec 2002 11:56:54 -0800 (PST) (envelope-from adaml@visimation.com) Received: from Spooler by visimation.com (Mercury/32 v3.31) ID MO00032E; 20 Dec 02 11:56:54 -0800 Received: from spooler by visimation.com (Mercury/32 v3.31); 20 Dec 02 11:56:38 -0800 Received: from 5adam5 (12.228.14.29) by visimation.com (Mercury/32 v3.31) with ESMTP ID MG00032D; 20 Dec 02 11:56:35 -0800 Reply-To: From: "Adam Lofstedt" To: "'freebsd-questions'" Subject: adduser ownership of mounted home directory Date: Fri, 20 Dec 2002 11:58:53 -0800 Organization: Visimation, Inc. Message-ID: <000001c2a862$3a422530$6501a8c0@5adam5> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 I am trying to put user's home directories onto a mounted windows share (mounting via smbfs). When I run the adduser script (and specify /mountedshare/username as the home directory) it doesn't set the ownership of the home directory to the user. Root still owns the folder. If I add a user to the usual /home directory it works fine. Here is what the regular home directory shows for permissions: # cd /home # ls -l drwxr-xr-x 2 test test 512 Dec 20 13:45 test Here is what the mounted share shows for permissions: # cd /mountedshare # ls -l drwxr-xr-x 1 root wheel 16384 Dec 19 10:18 test2 Do I need to chmod the mountedshare to a particular value to get the ownership to work? Is there something else about the mountedshare that I need to change, maybe in fstab? Many thanks, Adam Lofstedt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message