I try to open a file in gedit with the file-selection option of zenity. It's very easy to do it for file that i can access in normal mode, but I wanna open too some configuration files (as for exemple the conf files for vpnc) which are in a '700' folder (only the user root can read, write and execute the folder) I dont wanna change the permissions for the folder.
I tryed this :
gksudo -u root "gedit $(zenity --file-selection)"
but it didn't work
Is someone have an idea of how I can do it ?
Thx in advance folks
BR,