Skip to content
Browse files

(- fix) Having the rake task fix .ssh permissions

  • Loading branch information...
1 parent 0989274 commit 6a8ac55ae333bdcbd6dbca182c7131f5c17e38c3 @ELLIOTTCABLE committed Jan 21, 2012
Showing with 8 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 Dotfiles/ssh/authorized_keys
  3. +5 −3 Rakefile.rb
View
1 .gitignore
@@ -1,2 +1,3 @@
Dotfiles/ssh/known_hosts
+Dotfiles/ssh/.identity*
Dotfiles/irssi/logs-*.tar.gz
View
2 Dotfiles/ssh/authorized_keys
@@ -1 +1,3 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAIAQCvuAB+h1zI0Y9a+mSi837+u8xg1UVOdQRI1fC2oqVPERTJbBimHeLgUzb80WvF/BoT0bB5CTZyNeZOtdzpiv9d4JUficBpdnSTA8+q5F1RCPxGxGYIx+tx3KOrK2KhtxK2NxGFch89Rku3mg+welbK2gRtJ5pujbW3syZb9toGbtbYmR1oJ0+M/FdmKAYv1KIK5VLu7I+uTVENz448YEww+g0ePYlcsUdfGSkifLC/misterLNCpg/9+kDg0bVoMX+8z3GVqKSr7RcD3K2SQOlLC1yfbhfQATO3zIQo6bzcrZQWrchdy1jKcamXYXbi4fJyIT7eCZ8r/F7qoIYd8Sroje3XqBb4qeOHR+ZYbxOFTfzYLl/rovlN5Ny+6XetvaeDTuMxtMDBNS5ctxg+ZWkWA6DSe/cP3Z82IvuIahLgAQzk405vt64MChNBoT6Ynt+xQpMubgbu5RT3TmwmysWSemZ1V9J19SMgwFSkRzI5c3HA5VH2GMmvV9uS1eQ1rb0eScPFNNHQKs6hBH1tM5FLqQR77LlttuBgXEmNBSUF8auEaWOBOBSBE6IIMIkID/x81BvicAeZV/dvpKKX7BNxgwrwvtGi8LNH6you+0lf6JI7DKnNXAvRCETOP9bDDHrGDiaeubp7VZgjcmiD3PolqLNTEqaAOdkIaVsos2jcE94v6Sp+4R1higkcTMHSlMxpACP0EyuLlZzbFM25VxHVy13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pdLUXziTk8pvEt80i2jInFQIzmCWcTFSFi7FPbjBhK/ta6m1Vqwg/s1OE++uU70ueoLBkEPenxTFw== Elliott Cable <me@ell.io> (15 358 ſ, iPad)
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCvy38SqMGBlRg/Jv8O6Gms5RZyawetqS5G+ztH1+JB6HaLNy9NWPUpKt9BvR9K3/gamwd1WmfsnY4E30PnfiHw9rvsatihvUxCNAn+w31gaTFHg0ydGjFHBRSH5viNVlRuDJedbjDzggunp4KJ2iwjs5zn6JjDt4jsek+P+tK2iw== Elliott Cable <me@ell.io> (15 358 ſ, iPhone)
View
8 Rakefile.rb
@@ -9,12 +9,14 @@
desc 'Checks out the dotfiles submodules'
task :submodules do
system "git submodule update --init --recursive"
- FileUtils.mkdir_p(Dir.pwd + '/Dotfiles/vim/backup')
- FileUtils.mkdir_p(Dir.pwd + '/Dotfiles/ssh/sockets')
+ FileUtils.mkdir_p(Dir.pwd+'/Dotfiles/vim/backup')
+ FileUtils.mkdir_p(Dir.pwd+'/Dotfiles/ssh/sockets')
end
desc 'Installs dotfiles from this distribution for the first time'
-task :dotfiles => :symlink
+task :dotfiles => :symlink do
+ system "chmod 700 " + Dir.pwd+'/Dotfiles/ssh'
+end
desc 'Symlink dotfiles/dotdirs into home directory'
task :symlink do

0 comments on commit 6a8ac55

Please sign in to comment.
Something went wrong with that request. Please try again.