Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
put() with use_sudo=True incorrectly formats file access modes #310
If you specify both use_sudo=True and an explicit file mode using the mode kwarg, Fabric fails with an incorrectly formatted call to chmod.
The bug is in this relatively recent code:
The file mode is being formatted using %s meaning it is printed as a decimal. It should be printed with %o, for octal.
Originally submitted by **** (adamjernst) on 2011-03-10 at 12:09pm EST
Closed as Done on 2011-03-22 at 08:47pm EDT