enable-tor: Run kdesu with -c option.

This commit is contained in:
Joey Hess 2019-09-30 15:14:05 -04:00
parent 2b55a2b882
commit f2737a5fbe
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,7 @@ git-annex (7.20190913) UNRELEASED; urgency=medium
* Close sqlite databases more robustly.
* adjust --lock: This enters an adjusted branch where files are locked.
* remotedaemon: Don't list --stop in help since it's not supported.
* enable-tor: Run kdesu with -c option.
-- Joey Hess <id@joeyh.name> Thu, 19 Sep 2019 11:11:19 -0400

View file

@ -76,7 +76,7 @@ mkSuCommand cmd ps = firstM (\(SuCommand _ p _) -> inPath p) =<< selectcmds
[ SuCommand (MayPromptPassword SomePassword) "gksu"
[Param shellcmd]
, SuCommand (MayPromptPassword SomePassword) "kdesu"
[Param shellcmd]
[Param "-c", Param shellcmd]
-- Available in Debian's menu package; knows about lots of
-- ways to gain root.
, SuCommand (MayPromptPassword SomePassword) "su-to-root"

View file

@ -78,3 +78,6 @@ $ xxd /proc/21584/cmdline
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes, lots and lots for many years :-)
> turns out kdesu needs -c in order to treat the single parameter that is
> passed to it as a command line. [[fixed|done]] --[[Joey]]