Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

--remote option missed in fedora rpm

0 votes
asked Jul 24, 2016 in vifm by tagwint

--remote options is mentioned in man page, but when I try to use it i get error meessage

#vifm: unrecognized option '--remote'

It's turned out that my installation just miss that option

vifm -v
Version: 0.8
Git info: built out of repository
Compiled at: Jul 20 2015 23:35:23

Support of extended keys is on
Parsing of .desktop files is enabled
Without GTK+ library
With magic library
Without X11 library
Without dynamic loading of X11 library
With file program
With -n option for cp and mv
Without remote command execution

I used the fedora package:
Name : vifm
Arch : x86_64
Epoch : 0
Version : 0.8
Release : 1.fc23
Size : 3.4 M
Repo : @System
From repo : fedora
Summary : Lightweight file manager with vi like key-bindings
URL : http://vifm.info/
License : GPLv2+
Description : A ncurses based CLI file manager with vi like key-bindings

Perhaps, fedora maintainers have a reason to exclude remote options.

What would you suggest to make vifm to have remote option?

1 Answer

0 votes
answered Jul 24, 2016 by xaizek
selected Jul 25, 2016 by tagwint
 
Best answer

Perhaps, fedora maintainers have a reason to exclude remote options.

It was disabled by default for versions from 0.7.7 to 0.8, because implementation was considered insecure. Enabled back with new implementation since 0.8.1.

What would you suggest to make vifm to have remote option?

I'm not sure how to do that in Fedora, but you could rebuild the package with --enable-remote-cmd configuration flag (it's insecure only if you run vifm as root and there are other unprivileged users on the system).

Alternatively use version newer than 0.8. If package manager allows it, just use newer package or build the package with newer version locally.

I see 0.8.2 package there, but I don't know if you can use it right away.

commented Jul 25, 2016 by tagwint

I have successfully managed to build 0.8.2 from sources.
--remote option there is on by default.
Thank you, xaizek.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here won't be considered as spam, but this is not a perfect place for it.
...