Errno::EACCES - Permission denied while delete a file

hi,

i got the error[Errno::EACCES - Permission denied] , while deleting my
file, for that while searching i came to know i have to set chmod, but i
don’t know how to set chmod in my file, if any one knows, how to set
this one, please let me know, Thanks in advance.

my Error is:

Errno::EACCES in CasesController#delete_attach
Permission denied -
D:/INSTAN~1/rails_apps/oddworlders/members/OW1/admin/Duplicate Company
Interchange Aliases.PNGRAILS_ROOT:
D:/INSTAN~1/rails_apps/oddworlders/config/…

Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/cases_controller.rb:362:in delete' #{RAILS_ROOT}/app/controllers/cases_controller.rb:362:indelete_attach’

hi,
you can use man chmod if you are in linux,
example:
file.txt
if you want read write permission on file.txt
chmod u+r+w+x file.txt # this will give permission of read, write,
execute to only the owner of the file
chmod g+r+w+x file.txt # this will give permission of read, write,
execute to only to those users who belong to same group as you
chmod o+r+w+x file.txt # this will give permission of read, write,
execute to everyone who can see that file

On Sep 18, 5:03 pm, Vidya V. [email protected]