Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-29-2002, 10:20 PM   #1
Elan
Prospect
 
Join Date: Mar 2002
Posts: 7
problems using "tar"

I tried to create a tar archive using the CLI but it failed owing to this error:

tar: Failed open to write on /dev/nrst0 <Permission denied>

Do I need to adjust some setting? I'm logged in as an admin user. Thanks.
Elan is offline   Reply With Quote
Old 04-29-2002, 11:13 PM   #2
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
perhaps you could give us the entire command line, and what you're trying to backup to...

nrst0 is a non-rewinding tape drive ?

how did you get that device configured? if you did.
mervTormel is offline   Reply With Quote
Old 04-30-2002, 08:39 AM   #3
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Elan,

Do you have fink installed ?


Cheers...
sao is offline   Reply With Quote
Old 04-30-2002, 01:46 PM   #4
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
The error is you aren't telling tar a filename in which to place files. If you don't, it defaults to a tape drive (/dev/nrst0 in this case).

You want to use something like
Code:
tar cvf mynewfile.tar files to tar
which creates mynewfile.tar containing everything listed after (files, to, and tar).
blb is offline   Reply With Quote
Old 05-01-2002, 12:02 AM   #5
Elan
Prospect
 
Join Date: Mar 2002
Posts: 7
Hi all. Thanks to "blb" who diagnosed my error. Though I read the man pages, I couldn't figure out the syntax. Kept getting that cryptic error message. Obviously, I'm a very green beginner. Thanks again!
Elan is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 02:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.