section | x-masysma-name | title | date | lang | author | keywords | x-masysma-version | x-masysma-repository | x-masysma-website | x-masysma-owned | x-masysma-copyright | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32 |
vifm-ext |
MDVL VIFM Extension Scripts |
2020/09/02 02:33:48 |
en-US |
|
|
1.0.0 |
1 |
Copyright (c) 2020 Ma_Sys.ma.
For further info send an e-mail to Ma_Sys.ma@web.de.
|
This package provides scripts to extend the capabilities of the VIFM file
manager (or any configurable console-based file manager) by a mounting faciltiy.
It is intended to be used togehter with the configuration provided in package
mdvl-conf-cli
, see conf-cli(32).
This package includes a sudoers configuration allowing user linux-fan
to
run the ma_mount
command which makes the mount
command available to a
user. Beware that this reduces system security.
This script creates a dialog-based selection menu of devices available for
mounting. It filters out any device that is either in /proc/mdstat
or already
mounted as a safety measure against accidentally mounting a system volume.
After obtaining the device selection from the user, the script invokes
ma_mount
for the actual mount process.
Most Desktop Environments provide convenient means to mount any device.
Unfortunately, when using a window manager only, this feature is sometimes
unreliable due to missing session or background daemons. In the past, release
updates repreatedly “destroyed” what was before a working mount
command to be
used by regular users.
Due to that situation, script ma_mount
was created to solve the issue by the
“sledgehammer approach” of allowing users to mount devices with sudo
.
Instead of giving users access to mount
via sudo directly, the script has some
additional sanity checks to avoid malicious bind mounts that could effectively
give users root access. Note that these measures are most likely insufficient
against a sophisticated adversary who analyzes the script thoroughly.
Note: The documentation here is incomplete on purpose. Users are highly encouraged to find an alternative solution for their needs.