From owner-freebsd-questions Fri Oct 2 08:15:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12928 for freebsd-questions-outgoing; Fri, 2 Oct 1998 08:15:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.mi.verio.com (newmail.mi.verio.com [209.69.71.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12920 for ; Fri, 2 Oct 1998 08:15:26 -0700 (PDT) (envelope-from dhammis@verio.net) Received: from Samantha (samantha.mi.verio.net [209.69.72.148]) by mail.mi.verio.com (8.9.1/8.9.1) with SMTP id LAA24744; Fri, 2 Oct 1998 11:09:11 -0400 (EDT) Message-ID: <008d01bdee17$042da280$944845d1@Samantha.mi.verio.net> From: "Damon Hammis" To: "CyberPsychotic" , Subject: Re: ownership funnies. Date: Fri, 2 Oct 1998 11:12:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-Mimeole: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check the permissions and group settings on the directory itself. If the directory's group is owned by user2 then the file will be owned by user2. --Damon -----Original Message----- From: CyberPsychotic To: freebsd-questions@FreeBSD.ORG Date: Friday, October 02, 1998 7:43 AM Subject: ownership funnies. >Hello people, >Probably I miss something really stupid, anyway, here's my story, my box >is freebsd 2.2.7, now abit of expirement: > >cat /etc/passwd | grep user1 >user1 ---> uid 1001, gid 1001, the same in master.passwd >cat /etc/passwd | grep user2 >user2 ---> uid 1000, gid 1000; the same also in etc/master.passwd > >I remmeber I had to edit their ID/GID by hand. >pwd_mkdb /etc/master.passwd > >now check /etc/group file: > >user1:*:1001 >user2:*:1000 > >now I login as user1: >touch foo; ls -al foo >foo is owned by user1, but group is user2 why??! >more intersting is that user2 get the same thing but : user2 bin. Any >ideas what may cause this? any files I have missed? I more linux user, >where passwd things are abit different, so I probably may have missed >something really familiar. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message