Could it be that you don't have permission to write to the "temporary
location", whatever it is?

For reference:
http://docs.fabfile.org/en/1.6/api/core/operations.html#fabric.operations.put


On Thu, Jun 6, 2013 at 3:56 PM, Marshel Helsper <[email protected]>wrote:

> It should work unless even root doesn't have write permissions to the
> remote path. Try doing the sudo piece manually to see. Put the file on the
> remote system in some temporary path and then use sudo with the mv command.
>
> Maybe remote into the system itself and try to move something into that
> remote path to see if the balks at you.
>
> Thanks,
>
> *Marshel Helsper*
> QA/Release Engineer
> NetProspex Inc.
> [email protected]
>
>
>
> On Jun 6, 2013, at 6:34 AM, SL <[email protected]> wrote:
>
> Hi,
>
> I'm trying to write a task to update a file in the /etc/ folder on my
> servers.  However, a quick test (PUTting a dummy file in this folder) has
> failed with 'permission denied'.
>
> I'm using use_sudo=True, so am suprised.  Am I doing something wrong? Is
> this a corner case?
>
> Thanks
> _______________________________________________
> Fab-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user
>
>
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user
>
>


-- 
— Chris Vest.
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to