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 :

::

   [[email protected]] sudo: mkdir -p /home/myuser/test
   [[email protected]] 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 :

::

   [[email protected]] sudo: mkdir -p /home/myuser/test
   [[email protected]] 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
[email protected]



_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to