Bug #252
amahitunes barfs if there is a permission denied
0%
Description
should be handled more nicely.
Errno::EACCES (Permission denied - iTunes):
/app/controllers/hda_app_amahitunes_controller.rb:29:in `chdir'
/app/controllers/hda_app_amahitunes_controller.rb:29:in `do_count'
/app/controllers/hda_app_amahitunes_controller.rb:32:in `do_count'
/app/controllers/hda_app_amahitunes_controller.rb:30:in `each'
/app/controllers/hda_app_amahitunes_controller.rb:30:in `do_count'
/app/controllers/hda_app_amahitunes_controller.rb:29:in `chdir'
/app/controllers/hda_app_amahitunes_controller.rb:29:in `do_count'
/app/controllers/hda_app_amahitunes_controller.rb:14:in `index'
History
#1 Updated by cpg over 11 years ago
Another instance of this issue. We don't know what the permissions look like, though.
Should be handled better.
#2 Updated by cpg over 11 years ago
the work-around is as follows:
1. find the file that causes the issue. The debug page or /var/hda/platform/html/log/production.log can help in locating the name (see an example above).
2.- change the permissions of the file or directory:
chmod 755 directory (if it's a directory) chmod 644 file (if it's a file)
Also available in: Atom