Have generally used geany for editing lots of files with both regular user and root user, but after upgrading a test machine it no longer worked.
Running as regular user was fine, but runnings as root, would fail, and would then mess up with regular user since it would create a file .config/geany that was owned by root? Had to delete that file to fix issue. Have come up with a solution that seems to work for me, but not clear on the possible security issues? Simple ge script. #!/usr/bin/bash if [ "$EUID" = "0" ] ; then pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY geany $1 $2 $3 $4 $5 $6 fi #!/usr/bin/bash if [ "$EUID" -ne "0" ] ; then geany $1 $2 $3 $4 $5 $6 fi Had found the pkexec option (line wrapped above), but had to add the two env options for it to work. With 42 and before just had ge linked to geany, but now changed to this. Sometimes edit up to 4 files and times, but set to do up to 6? Perhaps someone has more detail on the security issues. Suggestion to just use nano or vim seems a step backwards? Thanks. +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:[email protected] mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
