??????????redmine 1.x.x ?汾?е?attachments files ??????????????????/home/darkofday/redmineAttachFile/???????????????
????cd /home/darkofday
????mkdir redmineAttachFile
????sudo chmod 666 redmineAttachFile #????????????????????????????а??????
????sudo chown www-data redmineAttachFile
???????????attachment.rb??????
????vim /usr/share/redmine/app/models/attachment.rb
???????
????@@storage_path = ENV['RAILS_VAR'] ? File.join(ENV['RAILS_VAR']?? 'files') : "#{RAILS_ROOT}/files"
????????????????????????????????????
????@@storage_path = "/home/darkofday/redmineAttachFile"
???????
????cd /usr/share/
????chown -R www-data redmine
????cd /var/www/
????chown -R www-data redmine
????cd /var/log/
????chown -R www-data redmine
????(???????????????????????????Σ????????????redmine????????????????д??????????????????????????????????apache2??????www-data???????????????ps aux??)
???????棬????redmine?????????????и????????????????????apache2??
????sudo /etc/init.d/apache2 restart
????OK??????????redmine????information?????Attachments directory writable ???????????
????????????????????С?????