@salass00
Quote:
Before installing OS4.1 onto a new harddrive (the old one had bad blocks) I made backups of some programs and games. After installing OS4.1 I unarchived these using "lha" (I didn't use UnArc since it kept crashing on some of the larger archives). In this case I had to reset the executable flags on all executables since they had been unset.
With OS4.1 I also have to use "protect +e" to set the executable flag on any programs I compile with VBCC.
No, that very much depends on which platform the LhA archive has been created. Lots of archives today are created on a Linux system, which doesn't know anything about AmigaOS' protection bits. Hence the Amiga LhA is unable to restore the E bit because the archive doesn't contain any information about it. Only archives created on Amiga will contain all Amiga relevant informations (protection bits, comments, etc).
If you list the archives contents with "lha vv" instead of "lha v" you will see the host type which created the single files within the archive. "Unknown" or "Linux/Unix" host archives will most probably not contain any Amiga specific informations.