On Tue, Sep 19, 2000 at 09:44:45PM +0100, john gennard wrote:
> In Potato, I'm installing qt-2.0.1 from a tar.gz. After uncompressing,
> unpacking and re-naming the directory  'qt', I checked its permissions
> and found owner and group given as '508'.  On a previous occasion,
> when compiling some other software (forgotten what), I noticed its
> owner and group was shown as 'staff'.
> 
> I presume this is the work of the software producer and not Debian.
> Can anyone explain the significance of '508' and say if I can safely
> change ownership or if some other course of action is desirable.
> 
> Grateful for any assistance.

this happens when you extract tarballs as root (which you should not
do) most people who create tarballs don't do so under fakeroot so the
ownership is root.root.

chown -R root.root qt
chmod -R u+rwX,go=Rx qt

me, when i create tarballs for distribution i always check that
everything is world readable and not writable by anyone but owner, no
extranious execute bits set.  then run fakeroot tar -zcvpf foo.tar.gz
foo 

this way all the ownership in the tarball is set to root.root as it
should be.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgphAsyVc8zgF.pgp
Description: PGP signature

Reply via email to