From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 02:56:37 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 0C85E429 for ; Tue, 22 Jan 2013 02:56:37 +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 B010BE50 for ; Tue, 22 Jan 2013 02:56:36 +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=fczlm7L3sL5/l9JrFERd6+eFxOqaqI4pmJdHuSOzo8k=; b=NPGWM4xzYL2dXkurEfrZHSV6F9XCV5fJ0Dj346ngr2Aka4yc4cpTA/49JoE8o88tsBImau8nlbATT0D0G+A3AT+wBL3h8sq370R/wDzlr5TefT8I+TQcA6lGGzaxoQl3; Received: from [122.129.203.50] (port=53688 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 1TxU2M-002MsP-08; Mon, 21 Jan 2013 19:56:35 -0700 Date: Tue, 22 Jan 2013 09:56:23 +0700 From: Erich Dollansky To: Ralf Mardorf Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <20130122095623.58727237@X220.ovitrap.com> In-Reply-To: <1358818271.3045.66.camel@precise> References: <1358811229.2031.60.camel@precise> <20130122073125.459ad795@X220.ovitrap.com> <1358816032.3045.53.camel@precise> <20130122081804.5569d38c@X220.ovitrap.com> <1358818271.3045.66.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 02:56:37 -0000 Hi, On Tue, 22 Jan 2013 02:31:11 +0100 Ralf Mardorf wrote: > On Tue, 2013-01-22 at 08:18 +0700, Erich Dollansky wrote: > > > 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. > > The current user is: rocketmouse > The uid is : 1001 > > Isn't it possible to change the uid to 1000? > This would cause that the owner wouldn't be rocketmouse anymore, but > still 1001. I then could run chown -R for /home/rocketmouse to switch > from 1001 to back to rocketmouse = new uid 1000. > > Or another idea would be to create a new user with the uid 1000 and > then to add rocketmouse to the group of this user. I guess this is > what you already recommended. yes, this is what I would do. Erich