This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

File access permissions?

Guru 15580 points

CCS V5.5, Windows 7 Pro

When attempting to compile/link my MSP430 project I continually get a file access permission error:

<Linking>

>> Compilation failure

fatal error #6001: cannot open file

   "C:\ti\ccsv5\tools\compiler\msp430_4.2.1\lib\rts430x_lc_ld_eabi.lib":

   Permission denied

I can work around this error by exiting CCS and restarting the program as an administrator. However, I am already logged in as the admin.

However, when performing a compile/link on my DSP project I do not get this error.

Can anyone give me some guidance on the arcane Microsoft security puzzle?

 

  • Hi MikeH,
    I believe CCS does not handle user permission well enough. I frequently ran into this problem using Win7-Ultimate (Win7-U) even I have admin account! Hopefully Win7-U behaves same as Win7-Pro, yYou may want to change permission to FULL CONTROL for EVERYONE, go to your Project Folder on Windows Explorer
    1) Right click on the folder, select tab "Security",
    2) Click on button "Edit", select "EveryOne", add if so required
    3) Check box "Full Control" and click "Apply"
    It may solve the problem
    Regards,
    ~Duy-Ky
    You should change permission
  • Duy-Ky,

    Thanks for the suggestions, but it did not work for me.
    Also, shouldn't the permission be set on the folder which Windows is denying access to ( "C:\ti\ccsv5\tools\compiler\msp430_4.2.1\lib\rts430x_lc_ld_eabi.lib":) , instead of my project folder? This is moot since I also tried modifying permissions on all folders in my \ti folder and still get the error.
  • Same here. Stuck with the issue even after changing permissions for all the floder under C:\ti
  • Komal,

    This is a very old post that refers to a pretty old version of CCS. Any follow-ups here may get missed due to the age of the thread.

    If you are having an issue, I would request you to start a new post and include as much detail as possible, such as version of CCS, which OS is being used, the exact error message, what type of project you are building etc.