From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 01:18:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 770C1EE9 for ; Tue, 22 Jan 2013 01:18:09 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 31D9CAD3 for ; Tue, 22 Jan 2013 01:18:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=sfjET7/SkZtkcCUZUZV+2j/yThr7XsPDjAHNmAI9l6w=; b=U6Bux5RjM1ZAMu/FWEwf1exzkiCcC7p7Rwijir34o5bF32BQDje6nGbppeIOyyJu+TAtXcTLu9xuhpWRZUTXJ9gnVpBTxGYQ0EBSVkbvO0tPTLrNLLtzySgKJOaUfLKv; Received: from [122.129.203.50] (port=39030 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TxSV5-0020Uy-Su; Mon, 21 Jan 2013 18:18:08 -0700 Date: Tue, 22 Jan 2013 08:18:04 +0700 From: Erich Dollansky To: Ralf Mardorf Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <20130122081804.5569d38c@X220.ovitrap.com> In-Reply-To: <1358816032.3045.53.camel@precise> References: <1358811229.2031.60.camel@precise> <20130122073125.459ad795@X220.ovitrap.com> <1358816032.3045.53.camel@precise> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 01:18:09 -0000 Hallo Ralf, On Tue, 22 Jan 2013 01:53:52 +0100 Ralf Mardorf wrote: > On Tue, 2013-01-22 at 07:31 +0700, Erich Dollansky wrote: > > On Tue, 22 Jan 2013 00:33:49 +0100 > > Ralf Mardorf wrote: > > > > > > > > root@freebsd:/usr/home/rocketmouse # ls -l /mnt > > > drwxrwx--- 21 1000 1000 4096 Oct 28 19:11 archlinux > > > drwxrwxrwx 2 root wheel 4096 Jan 20 20:09 dump > > > > > it seems that you do not have a user with the id 1000 on this > > machine. Create one and that user will be able to access it. > > Hallo Erich :) > > correct, as already mentioned, the uid of the FreeBSD user is 1001. > Why doesn't change chown the user and group, why do I get ---? I'll > try it again, perhaps it was voodoo ;). > > Assumed it wasn't voodoo, is there no way to get consistent rwx > permissions for "others" or to get a consistent group "wheel" instead > of "1000"? Why do I get those permissions, owner and group > automatically? And why does it differ to what I get for /dump? > root and wheel have the ID 0. All other IDs are more or less randomly used. I use scripts on my systems to have always the same IDs. > I guess it would be possible to change the id for the existing FreeBSD > user and then to chown /home/user_name to fit to 1000? Of course, this would work. But then all existing files of the existing FreeBSD would be without owner. Erich