Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

modules permissions after unzipping .par: msg#00002

lang.perl.par

Subject: modules permissions after unzipping .par

Hello All,

I have noticed that when I unzip a .par archive the extracted modules do not preserve their permissions:

Here is an example:

pp --verbose=9 -o hello.par hello.pl
unzip hello.par

ls -l lib/strict.pm
-rw-rw-rw- 1 salih other 407 Feb 4 11:29 lib/strict.pm

All the files that was added with addString have very permissive permissions.

My question is How can I keep the initial permissions of the modules ?

Thanks in advance,

-salih


PAR 0.87
Archive::Zip 1.11
Perl 5.6.1
solaris 8

hello.pl
---------------
use strict;

print "Hello there\n";
---------------


pp --verbose=9 -o hello.par hello.pl
/usr/local/bin/pp: Packing hello.pl
/usr/local/bin/pp: Writing PAR on pp96Nws.par
/usr/local/bin/pp: ... adding /opt/perl-5.6.1/lib/5.6.1/strict.pm as lib/strict.pm
/usr/local/bin/pp: ... adding <string> as MANIFEST
/usr/local/bin/pp: ... adding <string> as META.yml
/usr/local/bin/pp: ... adding <string> as lib/strict.pm
/usr/local/bin/pp: ... adding hello.pl as script/hello.pl
/usr/local/bin/pp: ... adding <string> as script/main.pl
/usr/local/bin/pp: ... updating MANIFEST
/usr/local/bin/pp: ... updating META.yml
/usr/local/bin/pp: *** pp96Nws.par: 344 bytes read, 1456 compressed, -323% saved.
/usr/local/bin/pp: Running /usr/local/bin/parl -B -Ohello.par pp96Nws.par
Packing "Archive/Zip.pm"...
Written as "Archive/Zip.pm"
Packing "AutoLoader.pm"...
Written as "AutoLoader.pm"
Packing "Carp.pm"...
Written as "Carp.pm"
Packing "Carp/Heavy.pm"...
Written as "Carp/Heavy.pm"
Packing "Compress/Zlib.pm"...
Written as "Compress/Zlib.pm"
Packing "Config.pm"...
Written as "Config.pm"
Packing "DynaLoader.pm"...
Written as "DynaLoader.pm"
Packing "Errno.pm"...
Written as "Errno.pm"
Packing "Exporter.pm"...
Written as "Exporter.pm"
Packing "Exporter/Heavy.pm"...
Written as "Exporter/Heavy.pm"
Packing "Fcntl.pm"...
Written as "Fcntl.pm"
Packing "File/Basename.pm"...
Written as "File/Basename.pm"
Packing "File/Copy.pm"...
Written as "File/Copy.pm"
Packing "File/Find.pm"...
Written as "File/Find.pm"
Packing "File/Glob.pm"...
Written as "File/Glob.pm"
Packing "File/Path.pm"...
Written as "File/Path.pm"
Packing "File/Spec.pm"...
Written as "File/Spec.pm"
Packing "File/Spec/Unix.pm"...
Written as "File/Spec/Unix.pm"
Packing "File/Temp.pm"...
Written as "File/Temp.pm"
Packing "IO.pm"...
Written as "IO.pm"
Packing "IO/File.pm"...
Written as "IO/File.pm"
Packing "IO/Handle.pm"...
Written as "IO/Handle.pm"
Packing "IO/Seekable.pm"...
Written as "IO/Seekable.pm"
Packing "PAR.pm"...
Written as "PAR.pm"
Packing "PAR/Dist.pm"...
Written as "PAR/Dist.pm"
Packing "PAR/Filter.pm"...
Written as "PAR/Filter.pm"
Packing "PAR/Filter/PodStrip.pm"...
Written as "PAR/Filter/PodStrip.pm"
Packing "PAR/Heavy.pm"...
Written as "PAR/Heavy.pm"
Packing "SelectSaver.pm"...
Written as "SelectSaver.pm"
Packing "Symbol.pm"...
Written as "Symbol.pm"
Packing "Time/Local.pm"...
Written as "Time/Local.pm"
Packing "XSLoader.pm"...
Written as "XSLoader.pm"
Packing "auto/Compress/Zlib/autosplit.ix"...
Written as "auto/Compress/Zlib/autosplit.ix"
Packing "auto/DynaLoader/dl_findfile.al"...
Written as "auto/DynaLoader/dl_findfile.al"
Packing "base.pm"...
Written as "base.pm"
Packing "bytes.pm"...
Written as "bytes.pm"
Packing "constant.pm"...
Written as "constant.pm"
Packing "integer.pm"...
Written as "integer.pm"
Packing "lib.pm"...
Written as "lib.pm"
Packing "re.pm"...
Written as "re.pm"
Packing "strict.pm"...
Written as "strict.pm"
Packing "vars.pm"...
Written as "vars.pm"
Packing "warnings.pm"...
Written as "warnings.pm"
Packing "warnings/register.pm"...
Written as "warnings/register.pm"
Packing "/tmp/par-salih/cache-c1f794ce8a759d2a82c108ce7d4af21d564ad4e0/37182e62.so"...
Written as "auto/IO/IO.so"
Packing "/tmp/par-salih/cache-c1f794ce8a759d2a82c108ce7d4af21d564ad4e0/3dd6207b.so"...
Written as "auto/File/Glob/Glob.so"
Packing "/tmp/par-salih/cache-c1f794ce8a759d2a82c108ce7d4af21d564ad4e0/4a6955e8.so"...
Written as "auto/Compress/Zlib/Zlib.so"
Packing "/tmp/par-salih/cache-c1f794ce8a759d2a82c108ce7d4af21d564ad4e0/cff6c2dc.so"...
Written as "auto/Fcntl/Fcntl.so"



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe