Lion: problems with resume, reboot, move, delete ...

Some of the Lion problems I've been having (on 2 laptops: an older "Pro" and a new "Air"):
          -can't delete some files without password;
          -can't move some files or folders, only copy;
          -opening a program by clicking a data file also opens other data files from previous uses (not necessarily the most recent use);
          -rebooting opens several programs, always the same ones with the same data files (not necessarily from the most recent uses);
          -opening Safari opens several tabs always with the same sites;
          -Safari's History is gone, except for 2011 items, and new items are not being recorded;
          -Keychain issues, often needing repair;
          -MobileMe syncing issues.
Why and how do all of these things happen? How are they related to each other? Why should I have to tinker like this? And what would happen if I weren't geeky? (I've left my iMac on Snow Leopard, which is wonderful.)
Things are coming under control, but I have pulled all sorts of information from a variety of Web sources, none of which I found all in one place; hence this compendium. The exact sequence of what I did is lost, and what factors were the ones which worked I do not know. (Very time-consuming …) Comments welcome!
Should I just have re-installed Lion on the laptops?
====
Permissions:
A lot of these problems seem related to obscure permissions.
Here is a Terminal command which clears all ACLs, at least in the "Home" folder.
          chmod -R -N ./*
(But it generated this message on the MBPro:
chmod: Failed to clear ACL on file abc.numbers: Operation not permitted
chmod: Failed to clear ACL on file Commands: Invalid argument
chmod: Failed to clear ACL on file Notification: Invalid argument
chmod: Failed to clear ACL on file ubiquity.socket: Invalid argument
chmod: Failed to clear ACL on file Saved Application State: Operation not permitted
… partly perhaps because I had "locked" the abc.numbers file and the Saved Application State folder. I doubt if these things matter.)
Reboot while holding Cmd-R: this is something like "re-install" mode; when it opens, instead of choosing one of the options presented, open Terminal from the Utilities menu, and type "resetpassword". A program opens but don't reset the passwords, but rather reset all of the permissions, including ACLs, using the button at the lower right. Close it, close Terminal, and the reboot normally.
Safari:
File menu, Empty Cache and Reset Safari
Library (from Home folder, requires special steps to get to it in Lion, e.g. hold the Option key when at the Finder "Go" menu):
          Library/Preferences: moved then later deleted several plist files for offending programs, which I then had to reconfigure (e.g. Safari: reconfigure Toolbar, go through Safari Preferences …) -(they will all reappear instantly in some "default" state) -trying to delete the plist.lockfile as well caused problems - Trash wouldn't "empty" it ("in use"), but doesn't seem to matter.
          Library/Preferences, ByHost: see below
          Library/Saved States: see below
ByHost:
Some users opine to go to ByHost, close all apps, then "lock" (using the "Get Info" feature) the file com.apple.loginwindow{…}.plist. See this "discussion: https://discussions.apple.com/message/17213577#17213577
Saved States:
Some users say to delete "Library/Saved Application State" files (folders) before doing the above (https://discussions.apple.com/message/17499355#17499355 and http://applehelpwriter.com/2011/09/13/turn-off-resume-the-definitive-solution/). Then "lock" the "Saved Application State" folder. There may be some problems getting it to stay locked(?).
But I moved several  of the "Saved Application State" folders and I forget just what, but one computer seemed unhappy afterwards, the other fine. On the unhappy one, I replaced them (but not yet having locked the overall folder), and deleted some of the files inside the individual folders, like com.apple.TextEdit.savedState. (I suspect this paragraph is unimportant, but cannot be sure.)
Sharing: remember that the settings under System Preferences, Sharing, also matter. (So do the settings under "Accounts and Users", Guests.)
The "resume open applications feature" on reboot seems weird. If I say "no", I wonder if it wasn't bringing back all of the programs from some distant previous reboot.
Make sure that under System Preference, General, the option to restore on restart is unchecked.
I have learned that Disk Utility's "Repair Permissions" works for quite specific files and doesn't work for the Home folder.
http://support.apple.com/kb/HT1452
Make sure that there aren't numerous "Login" items under System Preference, Users/Accounts.
Changing permissions via the "Get Info" windows, and "applying to enclosed folders" can be a bad idea, especially if applied to something like the Home folder. Apparently it propagates ACLs too(?), although not visible there, and the effects can be undesirable.
Some permissions on "Get Info" panes have two "everyone"s, and the one with "Custom" settings can not be changed nor deleted.
Make sure all systems updates have been done (as usual).
MobileMe sync issues are another story - seems to be settling - perhaps related to "Permissions" issues above …
And what about Preferences, Caches? Anything there that would help with the above problems? What about the "root"(?) Library?
Some of the above tasks can be accomplished by 3rd-party software, but I'm getting there without using anything other than native Mac OS X Lion tools.
====
Anyway, as said, it's all settling down.
Comments/corrections most welcome.
Charles

Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select  ▹ Restart from the menu bar.

Similar Messages

  • Since installing mountain lion i have a problem with mail. when i delete a message close  and open mail the message has come back. please help!

    Since installing Mountain Lion i have a problem with Mail. I delete a number of messages from the same person but keep the newest message in my Inbox. I actually delete them from the Trash. The next time i open Mail the deleted messages are back again. Can anybody please help as this is getting annoying. Thanks in Anticipation.

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash.
    Triple-click the line below to select it, then copy the selected text to the Clipboard (command-C):
    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    The output of this command, on a line directly below what you entered, will be a number such as "41." Please post it in a reply.

  • K8t Neo2 problem with resume from standby after BIOS flash

    Previously while using the 3.2 BIOS and a Winchester 3200+, Both Standby and hibernation worked perfectly almost without fail.  Since I flashed the BIOS to 9.3 and installed an X2 4200+ I have had a problem with resume from standby.  The machine starts up OK but the 2nd processor core (cpu1) is almost maxed out and stays that way.  Task manager shows total cpu load as about 45-50% (all on cpu1) but shows no running process using any cpu load, just the usual System Idle process at about 99%.  The only way to get it back down to normal again seems to be to reboot.  By Contrast Hibernation works fine, with no increase in cpu load after resume.  I have all the latest MS patch's installed (I think!) the AMD dual core driver and the MS and AMD dual core optimizers.  Any ideas what is going on?

    Noticed last night that S! standby seems to work OK.  Also was experimenting with a fresh windows install on a spare hard drive (checking on another problem).  The fresh windows install appeared to work with S4 hibernation, so it looks like that is the answer to that problem.  However the problem with high cpu load on the second core after resume from S3 suspend to RAM standby was still present.  This problem is so specific and so repeatable (it does it every time without fail), that I feel there must be some very well defined reason for it.  Unfortunately I have no ideas what could be wrong. Have now tried Windows re-install, latest cpu drivers, AMD dual core optimizer, MS dual core optimizer, Cool'n'quite disabled/enabled, and various others and suspend to RAM still gives the same behaviour

  • HT204382 Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no d

    Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no diference

    Download and install the free VLC for Mac - that should work:
    http://www.videolan.org/vlc/download-macosx.html

  • A lot of problems with my iPod(songs delet/stop at will)

    I started my i pd up this morning and none of my podcast or music would play. After a while I just let my ipod sit and turned it on but it stopped after pleying about a minute. I reset the iPod and now everything is deleted. i am getting so fed up with this thing. I've had to reformat and reset it like twice in the last 3 weeks.
    Can Anyone help?

    Jaredk wrote:
    I am having a lot of problems with my Bionic and it is making me very dissastified.
    1. My 3G and 4G service is going out.
    2. My phone reboots randomly.
    3. It gets very hot with little to no use.
    4. Sound doesn't work sometimes.
    5. Battery life is utter garbage.
    6. The camera is horrible.
    I've called up already and did a soft and hard reset. I am unable to send it in for repairs and they couldn't fix it at the store. I am very upset and either want a fix or I want to be able to trade it in for a new phone.
    Hi Jaredk
    3 and 5 are related, 1 and 2 may  be part of that as well.  The camera has terrible lag and all in all isn't that impressive but that's being addressed.  I haven't had or heard any issues with the sound cutting out.
    Have you tried going to Settings > Wireless & networks > Mobile networks > Network Mode and select CDMA Only to see if that fixes any of the issues you're seeing?  Specifically the reboots and heat.
    For the reboots I would recommend un-installing most of your apps and then slowly add them back until you notice the reboots start up.

  • Mountain Lion - Problems with Dynacord Powermate 1600-3

    Hey!
    I upgraded Lion to Mountain Lion, but that wasn't a nice move. I'm working with Logic Pro 9, and my audio interface when i record is the Dynacord Powermate 1600-3 mixer. When i open Logic and go to preferences->audio and click on output device, the only option i can choose is "built-in output". When i had Lion on my Mac, i was able to choose "Dynacord Audio Interface" in both the input device and the output device. And there wasn't any problems with that.
    Hope there are some help to find!

    1. Jeg brugte det indbyggede audio interface i mixeren, altså USB udgangen. Ja, det er den eneste mulighed, hvis du vil køre mixeren direkte ind i computeren.
    2. Hvis du mener med hensyn til hvor meget lyd man sender ind i mixeren fra de forskellige 4 tracks, er det aux 1, aux 2, mon 1 og mon 2 som er input 1,2,3 og 4 inde i Logic. På hver kanal sidder der knapper til at sende lyd til aux 1, aux 2, mon 1 og mon 2.
    Et eksempel: Hvis tommerne er på track 5,6 og 7 vælger man hvilken en af de fire "master-output" kanaler, man vil sende dem til. Hvis man så vælger aux 1, sender man på hver af de enkelte tomtracks, det lyd man vil have ind i mixeren, ved at dreje på aux 1 knappen. Et tip, stil de fire "master-outputs", altså aux 1,2 og mon 1,2 på det samme, og instil på hver enkelt track, hvor meget lyd du vil have ind i pc'en, det må bare ikke peake.
    De kanaler som hedder USB 1-2 og USB 3-4, virkede for mig som monitor kanaler, altså hvor man lyd man vil have ud i de højtalere man ny tilkobler mixeren.
    3. Når man skal indspille skal man blot bruge USB-kablet. Hvis du tænker på hver kanal, er det lige fedt, om du bruger jack eller mic stik. Jeg bruger kun mic stik, da alle mine trommemikrofoner er med XLR-stik. Men jeg har også indspillet en guitar, der bruger jack-stik. Man gør så følgende: Når man har indstillet gain, og eq sender man lyden til f.eks. aux 1. Man skruger godt op for aux 1 kanalen, og justerer på selve guitarkanalen, hvor meget lyd som skal ind. Derefter vælger man inputtet i Logic, det kan være 1,2,3 eller 4. Slår record til i Logic, og indspiller.
    4. Der har du så vidt jeg kan forstå misforstået det. Man kan i menuen vælge om det skal være live eller studio. Hvis du vælger live, er dine "master-outputs" kanaler aux 1,2 og selve masteroutput-kanalerne til speakere. Du skal vælge studio, for så bliver dine masteroutputs aux 1,2 og mon 1,2 og så kan du sende lyd fra hver kanal til dem. Det kan man ikke ved live, så vidt jeg ved.
    Grunden til at det hedder live og studio er følgende:
    Når man indspiller live, til f.eks. en koncert, bruger man masteroutputtet til højtalerne, og så bliver det optaget i pc'en også, samtidig med at det kommer ud i speakerne.
    Studio giver bedre kontrol, da man har mon 1,2 og aux 1,2 og kan sende lyd fra hver enkelt kanal til outputsne.
    Håber det hjalp, det var alt hvad jeg ved, kan ikke svare på mere
    Det skal lige siges, at jeg kun er 15 år gammel.
    Og hey, gå ind på youtube og søg Mads Skov Hansen. Der kommer to videoer frem, trommerne er optaget med en Dynacord Powermate mixer. Del gerne mit drum cover, der har jeg dog brugt et lydkort, som giver meget mere kontrol over hver kanal, da man har mulighed for eq, compressore og effekter inde Logic. Hvor man på Dynacorded kun har 4 tracks, med eksempelvis alle tommerne på samme kanal f.eks. aux 1, og så kan man ikke nørde på hver tom, der skal man lave fed lyd, inden man indspiller.
    Venlig hilsen
    Mads

  • A really annoying problem with a button/movie clip

    I am having a problem with a button! its driving me insane
    because i managed to do it last week, but that was by chance and
    now i can't remember how i did it!
    I can get the button (i'm using gelright from the common
    libraries panel) and convert it to a movie clip(by pressing F8) and
    even attach a behaviour but when i play the movie it doen't work!
    when i move the curser over the button it changes into a hand, but
    will not act like a button, even though i have set the behaviour to
    'on release, go to and play keyframe 2'.
    Please help me, for the sake of my laptop goin through the
    wall!

    virgosam20 wrote:
    > first, i found the button i wanted in the common
    libraries (gelright) and
    > added it to the stage. I resized it and converted it
    into a symbol as a movie
    > clip. Then it got added to my library.
    > Then i deleted it from the stage and replaced it with
    the movie cip version i
    > had just converted it to. so now i have the same object
    on the stage, but now
    > its a movie clip and not a button.
    ok - you are running yourself around in circles - why did you
    delete it to the stage only to add it
    again? once you converted it to a movie clip, you had what
    you wanted on the stage - but then you
    deleted it and dragged another instance of the same symbol
    back onto the stage - there's no reason
    to do that.
    > Then i double clicked on it to bring up the movie clip
    timeline, but instead
    > of saying 'top, down, over, hit' (or whatever it says),
    it jsut said 'layer 1'
    > (but this was not my original stage as i have a number
    of layers on that one).
    Right - this is expected because yoyu are now inside the
    movie clip timeline - not the button timeline.
    > When i double clicked on it again, it brought up the
    right headings (top, down,
    > over, etc),
    Right - because by double clicking the button symbol you were
    then brought to "edit mode" for the
    button symbol.
    but there were about 5 layers that showed the different
    layers for
    > the original button.
    Huh? What "5 layers"? What do you mean "original" button -
    per your description there has only ever
    been 1 button you have been working with.
    > I think i have to add the button to each of the
    headings, bt there is no room,
    Lost you completely now - what do you mean add the button to
    each heading? I have no clue what you mean.
    > as when i did it before, there was only one layer for it
    and i had to insert
    > the key frames myself.
    Still losing you here.
    > I then added a behaviour to it using the Behaviours
    pannel, (selected
    > movieclip, then 'go to and play....') and it appears in
    the behaviours pannel.
    > But when i got to Play Movie, although the curser
    changes into a hand, the
    > button does not work.
    That's because you are applying a behavior for a button to a
    movie clip instead.
    I think you went wrong when you converted the button to a
    movie clip - i have no idea why you did
    that or why to think your button needs to be in a movie clip.
    >
    > Hope that can help you with what i've done and you can
    tell me where i've gone
    > wrong.
    >
    I just think you don't understand how timelines, symbols or
    buttons work yet in flash.
    1. drag a button to the stage.
    2. select it and open the Behaviors panel (dont double click
    it to edit it).
    3. add your actions.
    4. test movie.
    (no need for a movie clip here.
    -chris

  • Problems with spontaneous reboots with K7t266 Pro-RU

    I have been having problems with this board for about six months. I recently installed the same board into another system and still have the same issues.
    The system powers-on spontaneously after shutdown. I have checked that there are no "wake on LAN settings" enabled in the BIOS. The same problem occurred in two different systems with the same board. It happens anytime overnight.
    I am running Windows and Office XP with current Service Packs
    AMI BIOS A6380MS V1.8 010202
    Most recently I installed the board in a new case and re-installed windows XP from scratch.  The stand by  button is grayed out when I select Windows turn off computer. When I shutdown the computer it simply restarts and does not shutdown properly.
    I purchased the motherboard in September 2001. I tried running the RAID array with two IBM Deskstar model IC35L040AVVA07-0,  40 GB hardrives. The RAID array would fail after a few weeks to a few months of use. I damaged both drives while trying to recover from these failures and could not repair the drives even with a low-level format. I finally gave up and stopped using the RAID.
    I have not upgraded the bios on the Promise RAID chip.
    Has anyone else had so  much problems with this board?

    Quote
    Originally posted by Bas
    Hi,
    Make sure you have IPCA turned on.
    APM turn it on.
    Turn USB Wakeup off
    Turn Restore on AC/Powerloss off
    Turn WakeUp on Ring off
    Turn WakeUp on PME off
    Turn Resume by Alarm off
    That should do the trick...
    Thanks for that. I had all these settings as described above but was still getting the spontaneous reboots. Actually I have narrowed it down to it occuring only when I have another PC on my LAN, but Wake up on LAN is definitely disabled.

  • I am having a problem with email, when I delete messages from my Ipad, they come back into trash whether they are on my PC or not. The only way I can delete them is to to my providers site and delete everything there.

    I am having a problem with email. I can receive and send, but when I delete, the deleted messages return into either Trash or Bin or both whether or not I have deleted them from my PC.
    The only way I can get rid of them permanently, is to go into my area of my providers site(Sky) and empty all of the boxes there. I imagine it's a setting, please advise.

    For IMAP mail only.
    Settings>Mail, Contacts, Calendars>tap on mail account>Archieve Messages>OFF

  • Problem with reverse goods movement

    Good Morning.
    I faced a problem with "schedule line" for an item in a sales order.
    I've an order quantity of about 14.000 pieces.
    I've created a partial outbound delivery for 8.000 pieces, but then for a problem, I made a "reverse goods movement" with VL09 for all 8000 pieces.
    When I came back into item's schedule line, I see in "Delivery quantity" column that is not considered the reverse goods momevent.
    I see that delivery quantity is still 8000.
    Can You give me some suggestion??
    Regards.

    There is no trasfer order in Sales Document Flow.
    Sales Order 10600587 / 10               12.12.07           14.000,000  NR      Completed          
    Delivery  8020600166 / 10                12.12.07           14.000,000  NR      Being rocessed    
    Picking request 20071212                   12.12.07           14.000,000  NR      Completed          
    GD goods issue:delvy 5500004772 / 1        12.12.07           14.000,000  NR      complete           
    RE goods deliv. rev. 5500004773 / 1        12.12.07           14.000,000  NR      complete           
    Delivery quantity is still 14000.

  • Lion problem with bootcamp diskutil and windows 7 help

    Hi I have a problem with my imac 27th
    I have installed Mac Osx 10.7.2 Lion
    Processor 2.93 GHz Intel Core i7
    Memory 12 GB DDR3 1333 MHz
    ATI Radeon HD 5750 1024 MB
    The serial number CK1160PBDNR
    I have 3 partitions on the system
    First MAC OS-500 GB on the system is mac
    Second GAME 250 GB
    Third Windows 250GB - there is prepared a partition for Windows 7
    I wanted to install Windows 7 through Boot Camp, but the error appears:
      This disk is not supported.
      I went to tools and wanted to share a disk or partition manually podzilic but I have another error:
    Disk Utility can not modify the disk: it contains physical volumes CoreStorage. Use diskutil command in the command line.
    Also tried to do this with my USB lion, but it is the same.
    Inadvertently create a new system, inadvertently waste the data. What do I do?

    Thank you - I followed your directions
    and found that I had already tagged it to watch, but hadn't realized that it was tagging both the old and the new.  Big learning curve for me.

  • I'm having a problem with unresponsive tabs after deleting localstore.rdf

    After the update to 4.0 b7, I had a problem with my toolbar resetting, which I (somewhat) fixed by deleting localstore.rdf. Now, however, my tabs are unresponsive when clicked, and Firefox is essentially locked onto the first tab. Ideas?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]

  • Problem with a DVD movie

    Hey,
    I have a DVD movie that when I enter it to my iMac it doesn't mount, makes the regular fan/processor noise continuously, then after a couple of minutes the finder gets stuck and I can't eject it. I never experienced this with any other dvd.
    And the movie is "Naqoyqatsi" (If someone else experienced this problem with it)
    Thanks

    Well, I have discovered from doing a lot of burning that if you don't run 3 programs to eliminate the cache files and the build up of files that your computer stores, this seems to cause DVD Movies not to mount normal.
    If I run,
    Macjanitor.
    http://personalpages.tds.net/~brian_hill/downloads.html
    Cache Out X.
    http://www.versiontracker.com/dyn/moreinfo/macosx/14850
    Onyx.
    http://www.versiontracker.com/dyn/moreinfo/macosx/20070
    The one above is for 10.3
    http://www.macupdate.com/info.php/id/11582
    The one above is for 10.4
    Running these 3 work for me.
    Remember shutting your computer Off, I mean clear OFF for a time occasionally helps also.
    Bear in mind there are several schools of thought on this subject.
    I have experimented and the above information has always worked for me.
    Hope this helps you all.
    Cheers Don

  • Problem with machine rebooting. Essbase 11.1.1 installation.

    Hi all,
    I have a problem with my Essbase 11.1.1 installation. In a nutshell when I reboot the machine I can't log in EAS anymore. The only way I found out is just reconfigur EPM system after rebooting but It's just a work around.
    Thanks for helping

    Hi user,
    AsI read between lines, it seems that you previously were able to access EAS so your installlation is not the problem but you accessing to EAS isthe problem. As you mentioned you are having problems accessing it after rebooting the server, I think it could be a prolem with the services. Please try stopping all the services in this order:
    administration servicese
    Essbase services 11.1.1.1_Hypservice_1
    Foundation
    Openldap
    and then restart them from bottom to top. Let me know.
    J.

  • Mountain Lion problems with Adobe?

    Since changing to Mountain Lion I cannot import jpeg and RAW files into Lightroom4. Anyone else had the same issues? Adobe is not very helpful, but many people have reported similar problems with Lightroom4 and CS4.

    You should post here:
    http://helpx.adobe.com/support.html

Maybe you are looking for