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:in
`delete_attach''
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
raghukumar
2007-Sep-20 15:41 UTC
Re: Errno::EACCES - Permission denied while delete a file
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 Vidya <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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:in `delete_attach'' > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---