[Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

Ru Vuott vuott at ...325...
Sat Aug 6 03:59:01 CEST 2016


Thanks you.

I tried you suggestion, but I get same error message.  :-(


......I'ld like to point out, strangely, if I use this other resource:

Desktop.OpenTerminal()

or 

Desktop.OpenTerminal("/usr/bin/gnome-terminal")

I obtain this error message:

" /bin/sh: 1: mate-terminal: not found "


It seems for me so strange, because all worked before !

regards
vuott





--------------------------------------------
Ven 5/8/16, Tony Morehen <tmorehen at ...3602...> ha scritto:

 Oggetto: Re: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist
 A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 Data: Venerdì 5 agosto 2016, 23:07
 
 Try adding the full path to chmod or
 cat.
 
 
 On 8/5/2016 5:00 PM, bugtracker at ...3416...
 wrote:
 > http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4-
 >
 > Comment #2 by vuott VUOTT:
 >
 >> Desktop.RunAsRoot requires the command to be
 written between the brackets.
 > Yes, I know it.
 >
 >
 > If I try this:
 >
 > Public Sub Button1_Click()
 >
 >    Desktop.RunAsRoot("chmod 666 /dev/tty1")
 >
 > End
 >
 >   or e.g.:
 >
 > Public Sub Button1_Click()
 >
 >    Desktop.RunAsRoot("cat
 /dev/input/mouse0")
 >
 > End
 >
 >
 > I get that error message:
 > "File or directory doesen't exist."
 >
 > vuott VUOTT changed the state of the bug to: Opened.
 >
 >
 >
 >
 ------------------------------------------------------------------------------
 > _______________________________________________
 > Gambas-user mailing list
 > Gambas-user at lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 
 
 ------------------------------------------------------------------------------
 _______________________________________________
 Gambas-user mailing list
 Gambas-user at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list