public
Description: Remote multi-server automation tool
Homepage: http://www.capify.org
Clone URL: git://github.com/jamis/capistrano.git
Search Repo:
default to 0664 instead of 0660 on upload


git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7878 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
jamis (author)
Sun Oct 14 07:34:26 -0700 2007
commit  03cca3bd84dc3ac781f4c9ea46576bc3ab2bd4ea
tree    282ac75b9caab55f79ced5f980993bf1a9f36385
parent  426ad0dc23791e8df72867f1540f857459a88ffd
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *SVN*
0
 
0
+* Default to 0664 instead of 0660 on upload [Jamis Buck]
0
+
0
 * Fix deploy:pending to query SCM for the subsequent revision so that it does not include the last deployed change [Jamis Buck]
0
 
0
 * Prefer 'Last Changed Rev' over 'Revision' when querying latest revision via Subversion [Jamis Buck]
...
101
102
103
104
 
105
106
107
...
101
102
103
 
104
105
106
107
0
@@ -101,7 +101,7 @@ module Capistrano
0
           sftp.channel[:failed] = false
0
 
0
           real_filename = filename.gsub(/\$CAPISTRANO:HOST\$/, server.host)
0
- sftp.open(real_filename, IO::WRONLY | IO::CREAT | IO::TRUNC, options[:mode] || 0660) do |status, handle|
0
+ sftp.open(real_filename, IO::WRONLY | IO::CREAT | IO::TRUNC, options[:mode] || 0664) do |status, handle|
0
             break unless check_status(sftp, "open #{real_filename}", server, status)
0
             
0
             logger.info "uploading data to #{server}:#{real_filename}" if logger

Comments

    No one has commented yet.