[nflug] Making A CD Into A Zip File While Preserving Permissions (A Bit OT)...

Roelant Ossewaarde rao3 at buffalo.edu
Thu Feb 9 14:20:54 EST 2006


I have the same problem with a machine in The Netherlands.

The way I solve it is this: I make an .iso-image out of the CD and 
upload it to the server. There I mount the image using either a virtual 
node (on *BSD) or a loopback interface (on *linux): these are options 
you give to mount. I then access the CD as any regular other one.

Often installers etc. want a device to refer to files, not a directory. 
It also solves the permissions-problem.

Bye,

Roelant.


joshj at linuxmail.org wrote:
> Thus spake DANIEL MAGNUSZEWSKI on Thu, 9 Feb 2006
> 
>> All,
>>
>> I have a dilemma. I have a CD for an application for a Solaris server.
>> The Solaris server is not in this state. In an effort to do this from my
>> desk, I tried creating a zip file of all the contents of the CD on my
>> Windows XP workstation, and SCP'd the zip files over to the server. I
>> unzipped the file and began to install the application - all this
>> involves is running one shell script which will in turn run other
>> scripts. The CD contains scripts/files of various permission levels.
>> When I tried running the script, I kept getting errors about various
>> other scripts not being able to execute.
>>
>> Is there any way that I can zip/tar/copy all the contents of a CD on a
>> Windows XP workstation, SCP it to a Solaris server, unzip/untar it, and
>> preserve the file permissions?
> 
> 
> Hey Dan. We meet again.
> 
> I'm not sure with zip. But with tar use the -p option to preserve the
> file permissions. So if you had 'solaris-prog.tar.gz' do a 'tar zxvpf
> solaris-prog.tar.gz'. It could be a problem to create it on Windows
> since it doesn't have a filesystem that understands *nix-style
> permissions. I'm not sure on that though. But any other *nix should be
> fine.
> 
> -Josh
> 
>>
>> Thoughts?
>>
>> -Dan
>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list