This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.
exit status 1
Error compiling for board Arduino/Genuino Uno.
Quick Heal Total Security is Disabled and still this EROOR
C:\Users\mkbutan\Documents\ArduinoData\packages\arduino\hardware\avr\1.6.21\cores\arduino\WInterrupts.c:1:0: fatal error: can't open C:\Users\mkbutan\AppData\Local\Temp\ccdJH3IS.s for writing: Permission denied
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Cannot create temporary file in C:\Users\MKButan\AppData\Local\Temp: Permission denied
exit status 3
Error compiling for board Arduino Duemilanove or Diecimila.
Now iam getting the same thing in Desktop also
Please Help to solve the Problem
Build options changed, rebuilding all
C:\Users\MKButan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino\hooks.c:1:0: fatal error: can't open C:\Users\MKButan\AppData\Local\Temp\ccjHKI6T.s for writing: Permission denied
/*
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.