[EMAIL PROTECTED] wrote:
I can't think of a 'Linux' solution to the problem.
I'll try to find a mac applescript that batch unlocks files. I did downloaded
a 'drag and drop' file program but unless I can unlock (by hand I suppose)
part of the  mac OS it won't work. hmm...



On Tuesday 08 February 2005 10:47 am, David G Stevenson wrote:

[EMAIL PROTECTED] wrote:

I tried chmod +wx * ( you did mean * =/mnt/macos?)
It didn't unlock any files,I'm afraid...

n.

su cd /mnt/macos chmod +rx *

locked = not writable (or executable) permisions ? Just checking we have
the correct terminology :-)


On Tuesday 08 February 2005 09:52 am, David G Stevenson wrote:

[EMAIL PROTECTED] wrote:

I mounted the macos disk:

[EMAIL PROTECTED] root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda11            2.9G  2.3G  430M  85% /
/dev/hda10            8.2G  7.9G  266M  97% /mnt/macos

is -la /mnt/macos produced the info below. nb - Notice the date Jan
1904! I checked both Mac and Mandrake clocks and thay are set to the
right date and time. The other linux distro I used was quite old and
various features,for example the firewire drive access, were
'experimental' and tended to crash the computer from time to
time,setting all clocks back:


[EMAIL PROTECTED] root]# ls -la /mnt/macos
total 277082
drwxr-xr-x 1 root root 92 Jan 1 1904 ./
drwxrwxrwx 6 root root 4096 Jan 8 11:20 ../
drwxr-xr-x 1 root root 4 Jan 1 1904 1/
drwxr-xr-x 1 root root 8 Jan 1 1904 Acrobat Reader 4.0/
-r--r--r-- 1 root root 759 Jan 10 2003 Acrobat Reader 4.0
Install Log drwxr-xr-x 1 root root 11 Jan 1 1904 Adaptec
Toast 4.1.2/ drwxr-xr-x 1 root root 16 Jan 1 1904 Apple
Extras/
-r--r--r-- 1 root root 534528 Oct 5 2003 AppleShare PDS
drwxr-xr-x 1 root root 16 Jan 1 1904 Applications/
drwxr-xr-x 1 root root 6 Jan 1 1904 Assistants/
drwxr-xr-x 1 root root 9 Jan 1 1904 BBEditLite Folder/
drwxr-xr-x 1 root root 2 Jan 1 1904 Cleanup At Startup/
drwxr-xr-x 1 root root 26 Jan 1 1904 compression:expansion /
-r--r--r-- 1 root root 1069056 Feb 6 11:16 Desktop DB
-r--r--r-- 1 root root 3696794 Dec 18 18:58 Desktop DF
drwxr-xr-x 1 root root 152 Jan 1 1904 Desktop Folder/
drwxr-xr-x 1 root root 10 Jan 1 1904 Desktop Resetter 2.8 �/
drwxr-xr-x 1 root root 5 Jan 1 1904 Documents/
-r--r--r-- 1 root root 4819 Oct 9 2000 download\WritePDF_MAC.PDF
-r--r--r-- 1 root root 5203 Aug 18 2002 DummyDB.cwk
-r--r--r-- 1 root root 5262 Aug 18 2002 DummySS.cwk
-r--r--r-- 1 root root 3608 Aug 18 2002 DummyWP.cwk
drwxr-xr-x 1 root root 11 Jan 1 1904 Eudora Application
Folder/ -r--r--r-- 1 root root 256 Oct 1 2003 Ext Devices FDG
-r--r--r-- 1 root root 39 Dec 25 2002
FinaleNotePad-serialNumber -r--r--r-- 1 root root 3483 Apr 19 2002 Installation Log -r--r--r-- 1 root root 26238 Jun 27 2004
Installer Log File drwxr-xr-x 1 root root 14 Jan 1 1904
Installer Logs/
drwxr-xr-x 1 root root 10 Jan 1 1904 MacGSView/
-r--r--r-- 1 root root 13957 Jan 8 2003 MacGSView Installer Log
File -r--r--r-- 1 root root 46080 Aug 18 2002 MacLink Export
Translators -r--r--r-- 1 root root 46080 Aug 18 2002 MacLink
Import Translators -r--r--r-- 1 root root 207279 Feb 1 2003
Ma(r)xTutorials
drwxr-xr-x 1 root root 361 Jun 17 1978 Max:MSP/
drwxr-xr-x 1 root root 17 Jan 1 1904 MidiShare/
-r--r--r-- 1 root root 179 Jun 12 2002 _nautilus-metafile.xml
drwxr-xr-x 1 root root 3 Jan 1 1904 Opcode/
-r--r--r-- 1 root root 0 Mar 27 2000 OpenFolderListDF?
drwxr-xr-x 1 root root 6 Jan 1 1904 Silverlining Pro Folder/
-r--r--r-- 1 root root 1209 Oct 4 2003 Snapz Pro 2 Installer Log
drwxr-xr-x 1 root root 5 Jan 1 1904 SoundAppPPC 2.7.3/
drwxr-xr-x 1 root root 55 Jul 24 1972 System Folder/
drwxr-xr-x 1 root root 267 Jan 1 1904 Temporary Items/
drwxr-xr-x 1 root root 3 Jan 1 1904 TheFindByContentFolder/
drwxr-xr-x 1 root root 4 Jan 1 1904 TheVolumeSettingsFolder/
drwxr-xr-x 1 root root 6 Jan 1 1904 Trash/
-r--r--r-- 1 root root 5621 Apr 25 2002 TypeChanger
drwxr-xr-x 1 root root 5 Jan 1 1904 Utilities/
-r--r--r-- 1 root root 274726912 Feb 7 20:54 VM Storage
[EMAIL PROTECTED] root]#



I hope this is more illuminating ;-)

cheers,
Nev

Looks like it is just the files that were locked..

cd /mnt/macos
chmod +wx *

That should get the files in order.

HTH


On Tuesday 08 February 2005 01:02 am, David G Stevenson wrote:

RickSisler wrote:

[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:

Could you post the output of:
# ls -la /mnt/macos

It gave this:

[EMAIL PROTECTED] root]# ls -la /mnt/macos
total 8
dr--r-x--x  2 root users 4096 Jan  8 18:03 ./
drwxrwxrwx  6 root root  4096 Jan  8 11:20 ../

What you see there is /mnt/macos is empty. All it contains is the special files . and ..

This means that the macos directory had dr--r-x--x and is owned by root
but is in the users group.

/mnt has drwxrwxrwx which means anyone on the machine can create
files/directories here.


I assume that the macos disk is not actually mounted at present. Running:

% df -h

will show if this is the case or not.

As for the macos directory, it would be proper for the permisions to
be:

drwxr-xr-x

so,

% chmod 755 /mnt/macos

would suffice. If you wanted users in the 'user' group to be able to
write to the macos directory, then:

% chmod 775 /mnt/macos

would do.

Usually, I would not allow write access to the macos directory, but
create a directory in the macos dir which has more open permissions.

Once you have the disk mounted (assuming that the disk is not mounted
in your example output above) you would need to provide more info as
to what sort of data is on there (I have never used MacOS).

HTH

David.


OK, that doesn't seem right ay, but ..
hmm, what was the permissions for the macos before you changed it?
If you used to be able to read, write and execute on it then, the
owner root, should have rwx, and r-x for the group members ..
atleast to view it right, which is why you were trying 755 ..
and as root, chmod 755 /mnt/macos .. didnt work ? I'm stumped ..
So I hope someone with more experience than me jumps in soon 8)

<snip>


Hi again,

I have done some googling for other problems with the integration of Linux file systems and that used by the MacOS. This is not a "hey - MacOS file systems are dodgy" statement, but there appears to be plenty of chatter relating to the problem of compatibility with Linux kernels.

http://www.johnleach.co.uk/documents/powerpc/

This offers a good read - maybe it sheds light on your problems.

Good luck.

--
Thanks,

David


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to