Process Denying Permission???

Hello,


How do you determine what process is blocking/denying access to a particular program?


Here is the line from the system report:

Dec 1, 2015, 8:59:13 PM Battle.net Setup[418]: Persistent UI failed to open file file://localhost/Users/jagered/Library/Saved%20Application%20State/net.battle.b ootstrapper.savedState/window_1.data: Permission denied (13)


Thanks!

 MacBook Pro & G5 DC, Mac OS X (10.6.2), Pro 2.66MHz w/4G + G5 2.0DC w/5.5G - ATI X1900GT - 20.1" LCDws r

Posted on Dec 2, 2015 4:05 PM

Reply
3 replies

Dec 2, 2015 5:45 PM in response to jagered

For Myself I often use the "Console" application in my Utilities Folder. "System Log Queries" > User diagnostic reports will show parent process and program you might be looking for ie:

Process: Borderlands2sub [5989]

Path: /Users/USER/Library/Application Support/Steam/*/Borderlands2.app/Contents/MacOS/Borderlands2sub

Identifier: com.aspyr.borderlands2.steam

Version: 1.8.4 (133242)

Code Type: X86 (Native)

Parent Process: steam_osx [5956]

Responsible: Borderlands2sub [5989]

User ID: 501



Date/Time: 2015-11-27 20:02:13.621 -0500

OS Version: Mac OS X 10.11.1 (15B42)

Dec 3, 2015 8:49 AM in response to jagered

Please back up all data before proceeding.

This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Triple-click anywhere in the following line on this page to select it:

sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

Copy the selected text to the Clipboard by pressing the key combination command-C.

Launch the built-in 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 and start typing the name.

Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. You may be prompted to select a language, then the OS X Utilities screen will appear.

If you use FileVault 2, select Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

Select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) 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.

Dec 3, 2015 9:20 AM in response to jagered

What title?

It appears on Blizzards forums there have reports of this.

there is no apparent fix in 10.11 that was posed but from the nature of the error I suggest creating a new account with administrative rights, boot into that account and attempt the launch the application.

keep in mind if you updated to OS 10.11 from an earlier OS the title you are tying to launch may not be supported in 10.11


If the title is supported in 10.11 and you continue to encounter this error you may want to try this before you log the error with Blizzard and see what they say.


-Restart, hold command R at startup until you see the Apple logo

-Select a language when the window appears

-Utilities menu from the top -> Terminal

-Type "resetpassword" (no quotes)

-When the password reset window appears, click on your hard drive and select your user from the drop down menu

-At the bottom of the window, click the reset button to reset your home folder permissions and access control lists

-Quit the reset password app and terminal

-Open Disk Utility from the window

-Click on the First Aid tab if not already selected, then select your hard drive on the left

-Click the Repair Disk Permissions button

-Restart

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Process Denying Permission???

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.