Hi,

In my fabfile.py I do :

::

   sudo("mkdir /home/myuser/test", user="myuser")

When I execute this command I've this in my terminal :

::

   [r...@example.com] sudo: mkdir -p /home/myuser/test
   [r...@example.com] err: stdin: is not a tty

What is "err: stdin: is not a tty" ?
Note : mkdir is well executed by "myuser" account.

To avoid this message, I do :

::

   sudo("mkdir /home/myuser/test", user="myuser", pty=True)


When I execute this command I've this in my terminal :

::

   [r...@example.com] sudo: mkdir -p /home/myuser/test
   [r...@example.com] out: mesg: /dev/pts/2: Operation not permitted

What is "out: mesg: /dev/pts/2: Operation not permitted" ?
Note : mkdir is well executed by "myuser" account.

Thanks for your help.
Regards,
Stephane

--
Stéphane Klein
steph...@harobed.org



_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to