On Mon, Jan 12, 2009 at 6:23 PM, Allan Bailey <[email protected]> wrote: > > I've noticed that 'put' uses the paramiko.sftp_client code to put files, > and it apparently doesn't preserve the permissions of the file. So > putting a shell scripts requires a following > "run('chmod +x path/to/script.sh')". > > Or am I missing something?
You are not missing anything. The uploaded files gets whatever default file permissions the hosts decides to give them. > > dankojn, > > -- > Allan > > > _______________________________________________ > Fab-user mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/fab-user > -- Venlig hilsen / Kind regards, Christian Vest Hansen. _______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
