English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 13 August 2017, 22:13   #1
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,473
working lha for windows

Hi,

I have downloaded a lha.exe for windows here: http://gnuwin32.sourceforge.net/packages/lha.htm

archiving works, but unarchiving doesn't (files can be opened with 7-zip)

main problem: created files cannot be unarchived on Linux because of 0 UID

Code:
[release@ceres ~]$ lha l whdload.org/www/games/Crossbow.lha
 PERMSSN    UID  GID      SIZE  RATIO     STAMP           NAME
---------- ----------- ------- ------ ------------ --------------------
drw-rw-rw-     0/0           0 ****** Aug  8 12:37 CrossbowHD/
-rw-rw-rw-     0/0         692  78.3% Aug  8 12:59 CrossbowHD/Crossbow.Slave
-rw-rw-rw-     0/0        4615  51.3% Sep 10  2006 CrossbowHD/Crossbow.inf
-rw-rw-rw-     0/0        8447  57.9% Sep 10  2006 CrossbowHD/Crossbow.newicon
-rw-rw-rw-     0/0        4427  32.4% Aug  4 07:47 CrossbowHD/Install
-rw-rw-rw-     0/0         708  49.9% Sep 10  2006 CrossbowHD/Install.info
-rw-rw-rw-     0/0       17113  40.1% Aug  8 12:37 CrossbowHD/Manual
...
---------- ----------- ------- ------ ------------ --------------------
 Total        13 files   45420  48.0% Aug  8 21:50
[release@ceres ~]$ lha x whdload.org/www/games/Crossbow.lha
LHa: Error: Cannot extract CrossbowHD/Crossbow.Slave: Permission denied
LHa: Error: Cannot extract CrossbowHD/Crossbow.inf: Permission denied
LHa: Error: Cannot extract CrossbowHD/Crossbow.newicon: Permission denied
any ideas/workarounds (I wouldn't like to create archives on lha amiga using WinUAE again, that works, but I'd like a windows native solution)
jotd is offline  
Old 13 August 2017, 23:32   #2
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,681
Quote:
Originally Posted by jotd View Post
any ideas/workarounds
Use su or sudo to extract the archive and change permissions of the extracted files.

Use Amiga lha (inside WinUAE) to create the archives.

Use ZIP archives instead of LHA. It does not make sense to create LHA archives with Windows anyway because the advantage of storing Amiga file attributes is not given by Windows anyway, LHA or not.
thomas is offline  
Old 14 August 2017, 12:19   #3
jbl007
Registered User
 
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 370
Use Header level 0 (switch: -0) and/or force generic archive (switch: -g)
jbl007 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unarchiving LHA & LZX files on Windows XP amigauser Amiga scene 58 28 September 2017 23:36
winuae 64bit not working on Windows 10 prallo support.WinUAE 23 06 August 2017 18:53
SpiritOfAdventure_v1.2_De_1Disk.lha - is it working? ransom1122 project.WHDLoad 3 18 March 2017 09:03
Open Multi Write Lha Archive on Windows zzap64 support.Apps 8 05 February 2016 13:14
OpenGL not working on Windows 10? Cabirus support.FS-UAE 11 18 September 2015 11:50

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 +2. The time now is 22:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.05993 seconds with 15 queries