[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Is there a way to perserve the file permissions of a 'put
From: |
Christian Vest Hansen |
Subject: |
Re: [Fab-user] Is there a way to perserve the file permissions of a 'put' file? |
Date: |
Mon, 12 Jan 2009 23:45:32 +0100 |
On Mon, Jan 12, 2009 at 6:23 PM, Allan Bailey <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
--
Venlig hilsen / Kind regards,
Christian Vest Hansen.