*BSD News Article 68668


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help !! I have run out of inodes !!!!
Date: 15 May 1996 21:34:00 GMT
Organization: Private BSD site, Dresden
Lines: 22
Message-ID: <4ndik8$5dd@uriah.heep.sax.de>
References: <4n7lnp$190@emerald.xara.net>
  <319905CC.41C67EA6@chicago.xs4all.nl>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Sander Temme <sander@Chicago.xs4all.nl> wrote:

> However, ever since I did this my news expire doesn't happen anymore. I
> suspect some permissions got lost in the tarring/untarring, because it
> runs fine as root and I already had to make /var/tmp world-writable. I
> don't know what went wrong.

By default, tar doesn't extract the exact permissions (even for root,
they are still masked by the current umask).  You have to specify the
-p option to tar to override this.  (Depending on root's umask on your
system, you can now estimate the amount of damage that happened.)

For backing up entire file systems, it's generally more recommendable
to rely on dump(8)/restore(8).  They do a much better job, including
even nice features like interactive restore.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)