構成されたテストコマンドを実行しようとしていSSHKit.config.umask
ます:
deploy.rb:
SSHKit.config.umask = '777'
deploy.rake
namespace :deploy do
task :test do
on roles :web do
execute('touch ~/hello.txt')
end
end
end
hello.txt
パーミッションなしで構成することを期待していますが、次のように表示されます。
-rw-rw-r-- 1 deploy deploy 0 Apr 9 15:40 hello.txt
私は何を間違っていますか?