1833744 Members
2581 Online
110063 Solutions
New Discussion

cdrom mount ??

 
SOLVED
Go to solution
Mike_145
Occasional Advisor

cdrom mount ??

I was give a cdrom to mount and I did with cdfs -ro but the owner and group Id's come out as a -1
-r-xr-xr-x 1 -1 -1 17194091 May 6 13:43 hp20rts.taz

Then when the client tries to un tar the file he is getting errors due to the -1 group and owner.

Any ideas as to what I'm doing wrong ??
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: cdrom mount ??

It might be that the user is trying the untar in the /cdrom directory.

Then it attempts to untar the file in a read only(ro) filesystem.

Thats never going to work.

Also note that the file is named .taz, not .tar

So it may not be a tar file, or the file was renamed prior to burning the cd.

tar xvf /cdrom/hp20rts.taz

Try it as the user.

Then try it as root.

Make sure the current directory is not /cdrom

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Devender Khatana
Honored Contributor

Re: cdrom mount ??

Hi,

Since the file is readabe / Executable by all it will not give any errors in extracting. Just try it in some other directory. Go to the destination directory and do

#tar xvf /cdrom/hp20rts.taz

The user through which you are trying should have a right permission in directory where you are extracting the file.

HTH,
Devender
Impossible itself mentions "I m possible"
Bernhard Mueller
Honored Contributor

Re: cdrom mount ??

Mike,

could it be that this file was create on a Linux machine using -z with tar (for compression?)

Run file on it
file /cdrom/hp20rts.taz

and decide what it is, or what to try to read the contents.

e.g.
does # tar tvf /cdrom/hp20rts.taz
work?
does # gzcat /cdrom/hp20rts.taz | tar tvf -
work?

HTH
Regards,
Bernhard

Stephen Keane
Honored Contributor

Re: cdrom mount ??

TAZ = TAR Compressed Tape Archive, Gzip/Compress
Stephen Keane
Honored Contributor

Re: cdrom mount ??

.taz is usually associated with WinBackup.
Mike_145
Occasional Advisor

Re: cdrom mount ??

Thanks