Login  •  Register


The time is now: Tue Oct 17, 2017 6:06 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 5 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Tue Apr 25, 2017 9:50 am 
Offline
Tinkerer

Joined: Wed Jun 22, 2011 11:51 am
Posts: 52
Location: France
After having transferred my BII "Unix" directory from one older MBA to a new MBA (Sierra 10.12.4), I discover than thousands files have been locked in the transfer ("reading only" in command-I for "wheel" and "everyone"). Could I unlock all that files easily by writing something in Terminal, instead of spending weeks in unlocking file after file in command-I ? I use the path « /HD/Users/Shared/BII/Unix/lots of locked files »


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Apr 25, 2017 11:10 am 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 1025
Location: Germany
Maybe I did not get that right, you moved the Unix directory to another host?
I can´t see how you would benefit from that.

I think that vintage Mac files become locked on foreign file systems for security reasons.
If you want to move a bunch of HFS files from your emulator, best copy them to a suitable disk image.
Here are some collected: http://macintoshgarden.org/apps/disk-images-emulators
The disk image may be moved via USB thumb drive formatted ExFat or MacOS(Extended).
Best avoid FAT32 because of the 2GB file size limit.

Superuser has the Terminal things, if you wish to unlock your files that way.
https://superuser.com/questions/40749/c ... es-on-os-x


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Apr 25, 2017 2:11 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 4811
Location: Amsterdam, Netherlands
I suppose the 'Unix' directory is the BasiliskII shared folder on the OSX side. Permissions (especially the user ID) may differ between the two Macs. Best create an archive from the old shared folder, move that archive to the new MBP and decompress it there. The files will then belong to you on the new Mac. Any Mac-compatible format will do, you can compress the folder in the OSX Finder to a zip archive, or create a .dmg disk image from the folder with Disk Utility.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Apr 25, 2017 4:18 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1790
"Any mac compatible format" is key -- you could have a bunch of resource forks attached to those files, and you'll want to preserve those. Safest way to do this is to create a compressed image of the shared folder. This will also double as a backup that you can potentially load directly into BII.

The problem was most likely caused by attempting to access the files using a user ID different than the one that originally wrote the files (numeric user ID, not the username string, which can be the same on different computers, but will have a different numeric ID assigned for file permissions etc.)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon May 01, 2017 3:26 pm 
Offline
Tinkerer

Joined: Wed Jun 22, 2011 11:51 am
Posts: 52
Location: France
Thank you to you all ! I looked around and found how to speak to Terminal so all my BII files are now unlocked as I wanted.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 5 posts ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group