|
From: | Christian Vest Hansen |
Subject: | Re: [Fab-user] Can't PUT (with use_sudo=True) to /etc/xxx? |
Date: | Thu, 6 Jun 2013 23:22:34 +0200 |
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.
On Jun 6, 2013, at 6:34 AM, SL <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user
[Prev in Thread] | Current Thread | [Next in Thread] |