Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? 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 nouchg,nouappnd,noschg,nosappnd {} + -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. Click Utilities, then Terminal in the icon grid.
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. When the OS X Utilities screen appears, select
          Utilities ▹ Terminal
from the menu bar. A Terminal window will open. In that window, type this:
res
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.

Similar Messages

Maybe you are looking for

  • MSI K8T Neo2 F 939 pin, any known video or other driver issues?

    Using a MSI K8T Neo2 F, AMD 64 3500+ winchestor, 1gb DDR400 3200 memory, New WD 740GD SATA HDD, ATI 9800 GT Pro 256 videocard. Fresh XP Pro SP2 install with all the update, latest Via 4 in 1s. Seems like my problems began when I upgraded video driver

  • Safari searching but doesn't open

    We have a macbook that is about 1 month old which has an annoying problem with Safari. We can open Safari and search using Google but sometimes the search will go on and on forever with nothing happening except for the "searching with the black clock

  • Error 1070023 Configured Disk volume does not exist.

    Hi I installed Essbase 11.1.1.2 in stand alone mode. When I am trying to start Sample.Basic, I am getting the below error Error 1002097 Unable to load database Basic. The App log showed the following error Error 1070023 Configured Disk volume does no

  • OIM 9.1.0.1 installation issue in weblogic

    OIM:9.1.0.1,DB:11g and weblogic 10.3.2 on linux 5.3 32 bit After installtion not able to find xlwebapp in admin console. When I search xlwebapp in /u01 oracle@oim ~]$ find /u01 -name xl*.war -print /u01/app/oimserver/xellerate/webapp/xlScheduler.war

  • Need help on running a book in HTML preview fetching entity from member lst

    Hi Everyone, I need a help on this quickly. I am trying to run a book in which I include 1 report and this report has 3 POVs: 1) Year--> depends on book point of view 2) Period --> depends on book point of view 3) Entity--> This I am trying to pull f