OT: need advice for keeping file flags in a zip

2010-05-03 Thread Tiemo Hollmann TB
Hello,

still struggeling with keeping the locked flag of a file when zipping and
unzipping. I followed exactly Thierries advice to use following syntax:

ditto -c -k --sequesterRsrc SrcFolder  testditto.zip

and though a locked file in Thierries environment is still locked after
unzipping, in my environment (MacOS 10.5.8) the file isn't locked anymore
after unzipping. So the difference must be in any other test parameter. What
I have tried is following:

-  Actually I am not sure, if the flag gets lost while zipping or
unzipping. Anyhow, after unzipping, controlling the information of the file,
the flag is lost

-  I tried different zip tools for zipping and unzipping (ditto,
7zip, gui tar) with same result

-  Originally my locked file resides within a bundle, but I tested
also with a single locked testfile in the source folder with same result

-  I tested different compression formats (zip, CPIO) with ditto
with same result

-  When using the ditto option -v (just copying a file) the locked
flag is kept, but not with -c (creating a compressed archive)

-  I also tested the ditto options: ditto -c -k --rsrc  --extattr
SrcFolder testditto.zip with same result

So it seems like my problem isn't the zipping and I am overlooking something
obvious outside the zipping process. My Mac knowledge is so small, that I
really stuck here, what could cause such a different behavior: OS version,
User permission (I have full rights), ditto handling,.?

Any advice appreciated

Tiemo

 

 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: need advice for keeping file flags in a zip

2010-05-03 Thread Thierry D.

Le 3 mai 2010 à 08:54, Tiemo Hollmann TB a écrit :

 Hello,
 
 still struggeling with keeping the locked flag of a file when zipping and
 unzipping. I followed exactly Thierries advice to use following syntax:
 
 ditto -c -k --sequesterRsrc SrcFolder  testditto.zip

:(


 and though a locked file in Thierries environment is still locked after
 unzipping, in my environment (MacOS 10.5.8) the file isn't locked anymore
 after unzipping.

MacOS 10.6 here. Could it be this ? new ditto version in it  ?

 So the difference must be in any other test parameter. What
 I have tried is following:
 
 -  Actually I am not sure, if the flag gets lost while zipping or
 unzipping. Anyhow, after unzipping, controlling the information of the file,
 the flag is lost
 
 -  I tried different zip tools for zipping and unzipping (ditto,
 7zip, gui tar) with same result

No, no !

--sequesterRsrc works only with PKZip

Do in a terminal:  ditto -h

Usage: ditto [ options ] src [ ... src ] dst

options are any of:
...
-X  do not descend into directories with a different device ID
..
-c  create an archive at dst (by default CPIO format)
-x  src(s) are archives
-z  gzip compress CPIO archive
-j  bzip2 compress CPIO archive
-k  archives are PKZip

--sequesterRsrc copy resources via polite directory (PKZip only)


Regards,
Thierry

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: OT: need advice for keeping file flags in a zip

2010-05-03 Thread Tiemo Hollmann TB
Bonjour Thierry,

thank you for caring :)

 
  and though a locked file in Thierries environment is still locked
 after
  unzipping, in my environment (MacOS 10.5.8) the file isn't locked
 anymore
  after unzipping.
 
 MacOS 10.6 here. Could it be this ? new ditto version in it  ?

Actually I don't think so, it must be something more obvious - so obvious,
that I don't see it
And I think this must be such a standard behavior, which hasn't changed
since ages.

 
  -  I tried different zip tools for zipping and unzipping
 (ditto,
  7zip, gui tar) with same result
 
 No, no !
 
 --sequesterRsrc works only with PKZip

No no, I didn't tried to use the ditto parameters with the other tools :). I
just tested the other tools with  their standard gui without any special
parameters, just to see, if it is a ditto issue.

 
 Do in a terminal:  ditto -h
 
 Usage: ditto [ options ] src [ ... src ] dst
 
 options are any of:
 ...
 -X  do not descend into directories with a different
 device ID
 ..
 -c  create an archive at dst (by default CPIO format)
 -x  src(s) are archives
 -z  gzip compress CPIO archive
 -j  bzip2 compress CPIO archive
 -k  archives are PKZip
 
 --sequesterRsrc copy resources via polite directory (PKZip only)
 

Yes I am studying the man ditto since days and tried all combinations of
parameters so that I now think it has nothing to do with the zipping tool,
but something completely different. Something like ... ?

 
 Regards,
 Thierry
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: OT: need advice for keeping file flags in a zip

2010-05-03 Thread Thierry D.

Le 3 mai 2010 à 09:56, Tiemo Hollmann TB a écrit :


Another thought :

Have you all the rights ( user and group )  to do so ?

May be worth a try with this one :

sudo ditto ...

Good luck
Thierry


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: AW: OT: need advice for keeping file flags in a zip

2010-05-03 Thread Tiemo Hollmann TB
Same result,
thank you
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Thierry D.
 Gesendet: Montag, 3. Mai 2010 10:13
 An: How to use Revolution
 Betreff: Re: AW: OT: need advice for keeping file flags in a zip
 
 
 Le 3 mai 2010 à 09:56, Tiemo Hollmann TB a écrit :
 
 
 Another thought :
 
 Have you all the rights ( user and group )  to do so ?
 
 May be worth a try with this one :
 
 sudo ditto ...
 
 Good luck
 Thierry
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: need advice for keeping file flags in a zip

2010-05-03 Thread J. Landman Gay

Tiemo Hollmann TB wrote:


still struggeling with keeping the locked flag of a file when zipping and
unzipping.


Have you tried the rev zip external?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution