Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
24 crawler(s) on-line.
 135 guest(s) on-line.
 1 member(s) on-line.


 OlafS25

You are an anonymous user.
Register Now!
 OlafS25:  1 min ago
 matthey:  11 mins ago
 OneTimer1:  22 mins ago
 RobertB:  24 mins ago
 pavlor:  57 mins ago
 VooDoo:  57 mins ago
 OldFart:  1 hr 34 mins ago
 zipper:  1 hr 55 mins ago
 kolla:  3 hrs 30 mins ago
 michalsc:  3 hrs 40 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Obscure AmigaDOS feature
Register To Post

PosterThread
thinkchip 
Obscure AmigaDOS feature
Posted on 2-Nov-2022 23:10:33
#1 ]
Super Member
Joined: 26-Mar-2004
Posts: 1183
From: Salt Lake City, Utah, USA

Hi, Amiga guys and Amiga gals. I like to post about strange and obscure things. Today I downloaded an lha file from aminet that contained a main folder and a number of subfolders and files. I used my PC running Windows 10 to download the file and WinZip to extract the files. Evidently it can do that. I'm not sure if that is relevant. Then I attempted to copy the root folder to my Amiga X5000 using a USB thumb drive. It seemed to copy okay. When I tried to open the folder, all I saw was a number of .info files. That was with the window set to "show all". I was expecting to find an executable file that I could double-click on. The files did show up in file managers like filer. I fiddled around with it for a while and imagined all kinds of dire problems that could be causing it, ranging up to a complete computer failure. After a while I noticed almost by accident that the protect bits were messed up. Some of them said "wed". They should say "rwed". In other words some of the files were not readable. I don't know how some of the read bits of some of the files were cleared. Maybe WinZip did it. Maybe the poster of the lha file did it by accident. You wouldn't do that on purpose. Anyway, if files refuse to show up in Workbench, there is no need to do something drastic. Just check the protect bits. This probably applies to all versions of AmigaDOS.

_________________
X5000 / microA1(OS4.1 FE U2) / CodeBench / Imagine / Blender
Lightwave 2019 / Microsoft Visual C++

 Status: Offline
Profile     Report this post  
OldAmigan 
Re: Obscure AmigaDOS feature
Posted on 3-Nov-2022 15:09:23
#2 ]
Cult Member
Joined: 25-Dec-2003
Posts: 681
From: Dumfries, Scotland

@thinkchip

I do believe that has been brought up quite a long time ago and I think you are correct that it's because you unzipped the files using Winzip, rather than un-lha-ing them, that's messed the protect bits up.

_________________
Fred Booth
========================================
A500, A600, A1200 c/w Mediator and 030
AmigaOne and OS4.1
Mac LCII, G4 Powermac running OSX + Amigakit and MorphOS 3.0
Dell Mini 10 Netbook running IcAros and AmigaForever+Amikit+AmigaSys
2006 Macb

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Obscure AmigaDOS feature
Posted on 3-Nov-2022 16:28:14
#3 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12817
From: Norway

@thinkchip

windows does not have "e" and "s" protection bits, insted windows depends on extentions like .com or .exe or .bat, zip files a windows thing, don't use it on Amiga programs. use lha

You can make a ISO 9660 rockridge disc image, and compress the image file.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
kolla 
Re: Obscure AmigaDOS feature
Posted on 3-Nov-2022 17:50:36
#4 ]
Elite Member
Joined: 21-Aug-2003
Posts: 2885
From: Trondheim, Norway

You can also just fix the protection flags, it isn’t exactly voodoo.

List path:to/files all lformat “protect *”%p%n*” rwed” | execute

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
MEGA_RJ_MICAL 
Re: Obscure AmigaDOS feature
Posted on 3-Nov-2022 23:54:54
#5 ]
Super Member
Joined: 13-Dec-2019
Posts: 1200
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE

Quote:

thinkchip wrote:

Hi, Amiga guys and Amiga gals. I like to post about strange and obscure things.


IF SO,
can you please finally tell us all what this is?




/mega!

_________________
I HAVE ABS OF STEEL
--
CAN YOU SEE ME? CAN YOU HEAR ME? OK FOR WORK

 Status: Offline
Profile     Report this post  
QuikSanz 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 5:06:24
#6 ]
Super Member
Joined: 28-Mar-2003
Posts: 1236
From: Harbor Gateway, Gardena, Ca.

@MEGA_RJ_MICAL,

Looks like some new Fred Flintstone car.

Chris

 Status: Offline
Profile     Report this post  
MEGA_RJ_MICAL 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 5:27:08
#7 ]
Super Member
Joined: 13-Dec-2019
Posts: 1200
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE

@QuikSanz

No friend QuikSanz,

our comrade and - lest we forget - creator of BLACKFANG,
had different versions of the stone-tank-granny through the years.

It has to be something he personay renders,
hopefully not the unholy byproduct of a combination of unspeakable fetishes.




/m!

_________________
I HAVE ABS OF STEEL
--
CAN YOU SEE ME? CAN YOU HEAR ME? OK FOR WORK

 Status: Offline
Profile     Report this post  
Massi 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 5:39:53
#8 ]
Cult Member
Joined: 2-Feb-2011
Posts: 627
From: Rome, Italy

@MEGA_RJ_MICAL

Friend Mega,
what a terrible machinery and I wonder what the above text stands for.

_________________
SAM440EP-FLEX @ 733 Mhz, AmigaOS 4.1 Update 1

 Status: Offline
Profile     Report this post  
jPV 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 9:22:44
#9 ]
Cult Member
Joined: 11-Apr-2005
Posts: 812
From: .fi

@thinkchip

It's not obscure, it should be a known fact that you should use filesystems that are compatible with the OS if you're handling anything else than data/archive files. A rule of thumb is to never unarchive anything on alien systems.

Amiga's file attributes are only preserved on Amiga compatible file systems like OFS, FFS, PFS, SFS, and couple others. We've seen countless threads on forums where people have got troubles when unarchiving Amiga programs on alien systems and copying them over with an alien filesystem. It's just pure luck if they happen to work in that way, and even then they might not work completely as designed.

The worst thing you could do is to backup your Amiga's system files just by copying them over to a mass storage device that contains an alien filesystem like FAT, NTFS, Ext, etc. You'd lose protection bits like S and P which are commonly used in AmigaOS and you'd also lose file comments. If you restore a backup like this, the system just isn't how it's supposed to be anymore. And the same applies to programs distributed by 3rd party developers, you might not know on what file attributes they rely on their software.

There are also differences on filename characters supported by filesystems. On Amiga you might have characters on filenames that aren't supported on other filesystems. Many demoscene productions have some custom characters that fail on alien filesystems, and there's the infamous " " file in MUI 3.8 archive, for example.

So, always unpack software archives on Amiga itself. You can transfer them via an alien filesystem if you haven't unarchived them yet.

_________________
- The wiki based MorphOS Library - Your starting point for MorphOS
- Software made by jPV^RNO

 Status: Offline
Profile     Report this post  
BSzili 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 9:53:11
#10 ]
Regular Member
Joined: 16-Nov-2013
Posts: 447
From: Unknown

@MEGA_RJ_MICAL

The quality of the render definitely improved compared to the previous iteration:

_________________
This is just like television, only you can see much further.

 Status: Offline
Profile     Report this post  
kolla 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 20:56:13
#11 ]
Elite Member
Joined: 21-Aug-2003
Posts: 2885
From: Trondheim, Norway

Here’s an obscure feature… an assign can point to a file rather than a path. For example, you can “assign NIL: dismount” and follow up with a “assign NIL: RAM:myfile” and have a look at what goes there.

Last edited by kolla on 04-Nov-2022 at 09:17 PM.

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
MEGA_RJ_MICAL 
Re: Obscure AmigaDOS feature
Posted on 4-Nov-2022 23:34:07
#12 ]
Super Member
Joined: 13-Dec-2019
Posts: 1200
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE

@BSzili

Friend BSZili, thanks,
I was looking for that and couldn't find it!

I am not sure the new one is an improvement.
This one has more character.

ANYWAY, WILL THINKCHIP PLEASE UPDATE US ON BLACKFANG?


/MEGA!!!!!

_________________
I HAVE ABS OF STEEL
--
CAN YOU SEE ME? CAN YOU HEAR ME? OK FOR WORK

 Status: Offline
Profile     Report this post  
Hypex 
Re: Obscure AmigaDOS feature
Posted on 5-Nov-2022 15:19:36
#13 ]
Elite Member
Joined: 6-May-2007
Posts: 11204
From: Greensborough, Australia

@thinkchip

I'm not sure how this is is an obscure AmigaDOS feature or even a feature. You've done some unpacking on Windows with WinZip and then found the files broke with AmigaOS. Wouldn't that make it a feature of WinZip to break the files?

It's still common to do this. Though I don't know why. It must be faster to unpack and copy the raw files to a USB stick separately than to copy one smaller file to USB and extract on the X5000 or any OS4 machine.

On Linux the common LhA tools break on OS4 archives so that problem can't happen because they can't be extracted from Linux. It's the first time I recall the R bit missing as usually they end up as RWED by default. So they usually work by default. But the main problem is scripts. Since the S bit will be destroyed in the process.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle