Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 10:26:01 +0100
From:      "Ralf Mardorf" <ralf.mardorf@alice-dsl.net>
To:        "FreeBSD quest" <freebsd-questions@freebsd.org>
Subject:   Re: Fwd: Re: Sharing a mail folder between Linux and FreeBSD
Message-ID:  <op.wreshnxpqhadp0@freebsd>
In-Reply-To: <1358988080.4855.5.camel@precise>
References:  <1358988080.4855.5.camel@precise>

next in thread | previous in thread | raw e-mail | index | archive | help
I was surpriesed, when Evolution from Linux had no permissions anymore to  
access the mail folder, after
drwxrwx--- rocketmouse  wheel was stable for FreeBSD

I wasn't aware, that even between Linux only, the folders for mount points  
share the same permissions, once the partition is mounted, since my Linux  
users usually share the same uid. I tested it some minutes ago.

However, I add a group freebsd (1001) to a Linux and chown/chmod most of  
the pass without -R option and for the mail directory I used the -R  
option, now everything _should_ work ...

$ ls -hAl /mnt
drwxrwx---  21 1000  rocketmouse   4.0k Oct 28 19:11 archlinux

but at the end of the pass I noticed this:

$ ls -hAl /mnt/archlinux/home/spinymouse/.local/share/evolution/mail
total 28
drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:37  
1323712251.1853.2@archlinux
drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:13 1353406324.3645.4@q
drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:13 1353606434.360.4@q
drwx------   2 1000  1000          4.0k Jan 24 02:37  
1358783158.2173.1@precise
drwxrwx---  17 1000  rocketmouse   4.0k Jan 24 02:37 local
drwxrwx---   4 1000  rocketmouse   4.0k Jan 24 02:10 trash
drwxrwx---   2 1000  rocketmouse   4.0k Jan 24 02:37 vfolder

I suspect I write-accessed /1358783158.2173.1@precise with a Linux that  
has no group 1001?

I'll add a group or user 1001 to all Linux and I'll add a user or group  
1000 to FreeBSD.

If I've done that, could I expect still any issues?

Regards
Ralf



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