Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 11:12:03 -0400
From:      "Damon Hammis" <dhammis@verio.net>
To:        "CyberPsychotic" <fygrave@freenet.bishkek.su>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ownership funnies.
Message-ID:  <008d01bdee17$042da280$944845d1@Samantha.mi.verio.net>

next in thread | raw e-mail | index | archive | help
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 <fygrave@freenet.bishkek.su>
To: freebsd-questions@FreeBSD.ORG <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008d01bdee17$042da280$944845d1>