Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 08:18:04 +0700
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Ralf Mardorf <ralf.mardorf@rocketmail.com>
Cc:        freebsd-questions@freebsd.org
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>

index | next in thread | previous in thread | raw e-mail

Hallo Ralf,

On Tue, 22 Jan 2013 01:53:52 +0100
Ralf Mardorf <ralf.mardorf@rocketmail.com> wrote:

> On Tue, 2013-01-22 at 07:31 +0700, Erich Dollansky wrote:
> > On Tue, 22 Jan 2013 00:33:49 +0100
> > Ralf Mardorf <ralf.mardorf@rocketmail.com> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130122081804.5569d38c>