Date: Mon, 24 Sep 2001 09:29:27 +1200 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: cyu0635@home.com Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: File permission Message-ID: <20010924092927.A1804@itouchnz.itouch> In-Reply-To: <3BAE4E2A.526A5E44@home.com>; from cyu0635@home.com on Sun, Sep 23, 2001 at 05:03:39PM -0400 References: <3BAE4E2A.526A5E44@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924092927.A1804>
