Date: Sun, 23 Sep 2001 18:13:38 -0400 From: cyu0635@home.com Cc: Jonathan Chen <jonathan.chen@itouch.co.nz>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: File permission Message-ID: <3BAE5E92.98AF7E2E@home.com> References: <3BAE4E2A.526A5E44@home.com> <20010924092927.A1804@itouchnz.itouch>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz> > ---------------------------------------------------------------------- > "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BAE5E92.98AF7E2E>