From owner-freebsd-questions Sun Sep 23 15:13: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail25.sdc1.sfba.home.com (femail25.sdc1.sfba.home.com [24.254.60.15]) by hub.freebsd.org (Postfix) with ESMTP id 3500037B422 for ; Sun, 23 Sep 2001 15:12:59 -0700 (PDT) Received: from home.com ([24.157.184.4]) by femail25.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010923221258.NKCR16969.femail25.sdc1.sfba.home.com@home.com>; Sun, 23 Sep 2001 15:12:58 -0700 Message-ID: <3BAE5E92.98AF7E2E@home.com> Date: Sun, 23 Sep 2001 18:13:38 -0400 From: cyu0635@home.com X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Cc: Jonathan Chen , "freebsd-questions@FreeBSD.ORG" Subject: Re: File permission References: <3BAE4E2A.526A5E44@home.com> <20010924092927.A1804@itouchnz.itouch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Jonathan If I encounter this case, how do I do? I only concern the security? Is it any harmful to my system because there is unknown uid? Many thanks Jonathan Chen wrote: > On Sun, Sep 23, 2001 at 05:03:39PM -0400, cyu0635@home.com wrote: > > Hi all > > > > I download tarball ssh-3.0.1.tar.gz > > and stored it in /usr/local/src > > I grant it permission chown root:root /usr/local/src/* > > > > but after I exact it 'ssh-3.0.1.tar.gz -----> directory ssh-3.0.1', the > > permission changed > > > > drwxr-xr-x 8 11171 users 4096 Jun 7 14:26 ssh-3.0.1 > > > > Why? > > The tarball stores user information and permissions for files/directories > within the archive. If you extract it as root, they'll be restored to > the uid/gid and permissions as when they were archived. > -- > Jonathan Chen > ---------------------------------------------------------------------- > "Irrationality is the square root of all evil" > - Douglas Hofstadter > > 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