From owner-freebsd-questions Sat Dec 21 9: 5:50 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 DACA837B401 for ; Sat, 21 Dec 2002 09:05:48 -0800 (PST) Received: from visimation.com (visimation.com [206.169.230.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6632B43EEA for ; Sat, 21 Dec 2002 09:05:48 -0800 (PST) (envelope-from adaml@visimation.com) Received: from Spooler by visimation.com (Mercury/32 v3.31) ID MO000485; 21 Dec 02 09:05:48 -0800 Received: from spooler by visimation.com (Mercury/32 v3.31); 21 Dec 02 09:05:33 -0800 Received: from 5adam5 (12.228.14.29) by visimation.com (Mercury/32 v3.31) with ESMTP ID MG000484; 21 Dec 02 09:05:29 -0800 Reply-To: From: "Adam Lofstedt" To: "'dick hoogendijk'" , "'freebsd-questions'" Subject: RE: adduser ownership of mounted home directory Date: Sat, 21 Dec 2002 09:07:47 -0800 Organization: Visimation, Inc. Message-ID: <001401c2a913$7d05f390$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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20021221092945.GA14501@nagual.st> 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. > > Do you expect windows to honour the *NIX permission flags? > Only ntfs comes close but differs too. So, what you want is > not possible afaik. I don't really care about windows honoring the *NIX permissions. When the share is mounted via smbfs at boot, it is mounted as a single windows user, so essentially all FreeBSD users are connecting to the windows box as the same windows user. If I understand correctly the UNIX and Windows permissions are two different systems that run independently of each other (except for those cases where the permissions conflict). Windows shouldn't care who the UNIX owner is, it is only concerned about who is connecting to the machine via the network with that particular username and password. I don't know why adduser correctly sets the ownership of the home directories in /usr/home, but not in my mounted directory, which is in /mountedshare? I tried moving /mountedshare inside /usr, but that didn't work either. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message