Monthly Archives: May 2009

Changing default file permissions for SFTP

We primarily use SFTP for file transfers, and we encourage our customers to do the same. One problem we’ve been having is that the default file permissions when files are uploaded in SFTP don’t match the umask set for that … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Installing the Ruby mysql-2.7 gem on OS X 10.4/ 10.5

Today I was updating a rails application, and editing some databases to convert them to mysql. After changing my rails config file I started getting this error : > db:test:prepare (in /Users/tom/workspace/solitaire) !!! The bundled mysql.rb driver has been removed … Continue reading

Posted in Ruby on Rails | Tagged , , , , | Leave a comment

Error in option spec long|! mytop

mytop has started to break recently on our cPanel Redhat and CentOS machines. When you run mytop: #mytop Error in option spec: "long|!" The fix for this is to edit the mytop script and comment out the line containing long|! … Continue reading

Posted in cPanel, Linux | Tagged , | 2 Comments