Comment 4 for bug 16966

Revision history for this message
Gustavo Noronha Silva (kov) wrote :

It was actually already possible to use gksu/gksudo like that before, but it
would insist on interpreting the options it knew. Using the -- magic symbol did
not help because of the hack to allow it being used in the commands, so I added
another hack to make it work:

kov@alface:~/src/gksu$ ./gksu/gksu -- ls -lhk .svn/
total 40
-r--r--r-- 1 kov kov 0 2005-05-12 14:28 empty-file
-r--r--r-- 1 kov kov 9 2005-09-12 22:39 entries
-r--r--r-- 1 kov kov 1 2005-05-12 14:28 format
drwxr-xr-x 2 kov kov 4 2005-08-07 16:17 prop-base
drwxr-xr-x 2 kov kov 4 2005-08-07 16:17 props
-r--r--r-- 1 kov kov 1 2005-05-12 14:28 README.txt
drwxr-xr-x 2 kov kov 4 2005-08-05 16:38 text-base
drwxr-xr-x 6 kov kov 4 2005-09-12 22:39 tmp
drwxr-xr-x 2 kov kov 4 2005-05-12 14:28 wcprops

I noticed the sudo thing has problems interpreting the command my current code
generates, though, so I'm right now taking a look at adapting libgksu to work
correctly with sudo, too.