From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 14:47:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9E5916A41F for ; Mon, 29 Aug 2005 14:47:57 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 140B443D45 for ; Mon, 29 Aug 2005 14:47:56 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 29 Aug 2005 14:47:56 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp032) with SMTP; 29 Aug 2005 16:47:56 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Mon, 29 Aug 2005 16:47:42 +0200 User-Agent: KMail/1.8.1 References: <01e501c5abd2$0edf6350$6600a8c0@w2k2> In-Reply-To: <01e501c5abd2$0edf6350$6600a8c0@w2k2> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1531855.VbHAyep3cE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508291647.52434@harrymail> X-Y-GMX-Trusted: 0 Cc: Paul Hamilton Subject: Re: Directory permissions issue taring directories onto a Compact Flashcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 14:47:58 -0000 --nextPart1531855.VbHAyep3cE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 28. August 2005 15:11 CEST schrieb Paul Hamilton: > Well, I never really resolved this. I later tried taring at a sh Hello Paul, while I'm writing a tar PR I tried to reproduce your problem.=20 Unsuccessfully. It works just fine. I guess your tar isn't finishing without errors, since permission setting=20 is done after extraction, I can see your problem if I interrupt this=20 command. It the leaves the tree with wrong permissions you described. Maybe your destination is full? You have to see where the error occurs, in general it works just fine. =2DHarry > prompt. Same deal. I had tried manually chmoding the /mnt dir. To 777, > but that didn't help either. > > In the end I gave up, and did a fresh install straight onto the CF drive > from the CD. I did try a 6.0 beta3 install, but it kept crashing early > in the install process, so 5.4 it is (for the time being). > > Cheers, > > Paul > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > > Paul Hamilton > > Sent: Saturday, 27 August 2005 10:28 PM > > To: freebsd-questions@freebsd.org > > Subject: Directory permissions issue taring directories onto > > a Compact Flashcard > > > > > > Hi, > > > > I have done a minimal FreeBSD 5.4 install onto single > > partition ad0s1a I then mounted my 512MB Compact Flash ide > > drive on ad2s1. > > > > When I run this command su'ed as root: > > tar --one-file-system cf - -C / . | tar xpvf - -C /mnt > > > > I find that all the directories end up with permissions of: > > drwx------ > > > > Even running: dump 0af - / | restore xf - gives the same result. > > > > If I manually create a directory on the CF /mnt I get the > > correct permissions! Files copied over via tar and dump are > > ok. I have used tar to copy HD contents to larger HD,s > > before with out a problem. > > > > Umask is set to 22, and this is being done in a tcsh shell. > > > > Any clue on whats going on? > > > > Cheers, > > > > Paul Hamilton. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1531855.VbHAyep3cE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDEyAYBylq0S4AzzwRAvcYAJ9yDQAksP3T22eW6LxerF79Gq0TiQCfeCIo UfjG45wEMfrlUPWB2w5jL0Y= =jLFW -----END PGP SIGNATURE----- --nextPart1531855.VbHAyep3cE--