Re: Back Up Problems with Preference file
Re: Back Up Problems with Preference file
- Subject: Re: Back Up Problems with Preference file
- From: "Marc S.A. Glasgow" <email@hidden>
- Date: Tue, 15 Oct 2002 07:19:30 -0400
Dear Michael,
This explanation will probably make you understand the
whole problem in a nutshell. All the system preferences
files are stored in the form of plist files, including
those preferences which are behind-the-scenes and not
set through a preference panel; I believe the list of
which windows are currently open on your system for you
(as the user) is stored in com.apple.loginwindow.plist
file. Thus, for as long as the system is active as the
boot system and you are logged into it, that file is
reserved for the operating system (and can't be readily
backed up). There are two ways around this that I know
of:
1. Boot of a different partition or external drive or
CD/DVD bootable disk; OR
2. I think RetroSpect version 5.x (whatever the current
OS X version is) can get around it by 'freezing' the file
for an instant, duplicating it and backing up the copy.
Note that if you trash that file (or a number of other
.apple.XXX.plist files) from a different boot disk
(since, in theory, you can't do so from the same boot
disk), you will cause a filing system valiance error
that will require either Norton Utilities, a competitor
to Norton Utilities, or a reinstall of the OS to
correct. In theory, this file should be
self-correcting, in that it should generate a new copy
of itself if lost/destroyed, but the reality is that
depending on how it disappears, it may not be and may
induce the error I mentioned above.
Hope that clarifies matters.
Best Wishes,
=-= Marc Glasgow
Michael STEINWEDE Wrote:
I9m a new comer to AppleScript in OS X and have had very, very limited
experience of AS in OS 9.
I9m trying to backup my user files and it crashes on a preference file
called "com.apple.loginwindow.plist". When I check Show Info, it says
the
owner is System.
When I temporarily move the file to the desktop and backed up the
preference
folder, it backs up successfully. But I want to do back ups
automatically
rather than manually moving and replacing this file each time.
I wrote this script, but I can9t even select the silly file, never
mind move
it to the desktop.
tell application "Finder"
if file "com.apple.loginwindow.plist" of folder "Preferences" of
folder,
"Library" of folder "michaels" of folder "Users" exists then
say ("found it")
select "com.apple.loginwindow.plist" of folder "Preferences"
of
folder ,
"Library" of folder "michaels" of folder "Users"
else
say ("can't find it")
end if
end tell
It keeps on coming up with this error message ...
Can9t get 3com.apple.loginwindow.plist" of
folder "Preferences" of folder "Library" of
folder "michaels" of folder "Users2. Access
not allowed.
I9ve read the AppleCare Knowledge Base Article ID: 86110, but it
applies to
those using .Mac Backup, which I am not using. I want to use, say,
SilverKeeper (or some other application) to do my back ups.
So am I stuck with doing this manually, or can AS work around this
problem?
Thanks for any help.
Michael.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.