On Fri, 08 Aug 2008 15:33:25 +0200, Aaron Konstam
<akonstam@xxxxxxxxxxxxx>
wrote:
> On Fri, 2008-08-08 at 12:58 +0200, roland wrote:
>> On Fri, 08 Aug 2008 12:42:45 +0200, Ed Greshko
<Ed.Greshko@xxxxxxxxxxx>
>> wrote:
>>
>> > roland wrote:
>> >> On Thu, 07 Aug 2008 11:54:25 +0200, Anne Wilson
>> >> <cannewilson@xxxxxxxxxxxxxx> wrote:
>> >>
>> >>> On Thursday 07 August 2008 10:32:59 roland wrote:
>> >>>> Hello,
>> >>>>
>> >>>> I moved the homedirectories from one server to another.
>> >>>> Somehow the permissons got mixed up.
>> >>>> Is there anyway to check permissions?
>>
>> >> I can check easely owner and group but what I would like to find
is a
>> >> script that checks the permissions. I remember, sorry to mention
it,
>> >> SCO unix, they had a utility to check the entire installation.
>> >> Like for example .dmrc, in the home dir, need to have a 644
>> permission.
>> >> What permissions should the other .dir have, like .gnome,
.evolution
>> >> eso.
>> >
>> > Most directories are very happy with 744 permissions. That would
be
>> > mostly what you want since 644 could present problems. The only
>> > directory that I *know requires* a different permission is .ssh,
where
>> > you'd need 700.
>> >
>> > I did notice that you've convinced yourself that your problems are
>> > related to permissions and don't seem interested to explore other
>> > possibilities. AFAIK, you also didn't mention exactly *how* you
moved
>> > the home directories.
>> >
>> I did not mean to give that impression, sorry.
>> I copied /etc/passwd, /etc/shadow, /etc/group, /etc/gshadow
>> I copied /home with rsync
>> I hope this is an answer and I am still interested in whatever
solution
>> :-)
>>
>> roland
> That would make the uids and gids the same but would not affext the
> permissiond in the home directory. Did you copy the home directories
> also?
>
I do not really remember. I think I just put then there with rsync, but
it
could also be that I copied them with tar and then rsync, but wouldn't
that have the same result?
Roland