proxmox-backup/src
Thomas Lamprecht f418f4e48b api: list datastores: avoid unsafe datastore open
to avoid the problematic open fresh datastore with fresh chunkstore
with, and that's the actual problematic part, fresh process locker.
As the latter uses posix record locks which are pretty dangreous as
they operate on a path level (not FD level) and thus closing any file
opened (even if it wasn't opened for locking at all) drops all active
locks on the same file on completely unrelated file descriptors -.-

Also, no operation wasn't exactly correct for this thing in the first
place, but we cannot use Operation::Lookup either, as we're currently
indeed using a rather stupid-simple way and *are* reading.

So until we optimize this to allow querying the AclTree if there's
any priv XYZ below a path, use the Operation::Read.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-03 13:31:29 +02:00
..
acme rust fmt for pbs src 2022-04-14 14:03:46 +02:00
api2 api: list datastores: avoid unsafe datastore open 2022-06-03 13:31:29 +02:00
backup api: namespace list: fix restrictive priv checking 2022-05-27 11:14:01 +02:00
bin tree wide: clippy lint fixes 2022-06-02 15:59:55 +02:00
config update to nix 0.24 / rustyline 9 / proxmox-sys 0.3 2022-06-02 14:33:33 +02:00
server tree wide: clippy lint fixes 2022-06-02 15:59:55 +02:00
tape tree wide: clippy lint fixes 2022-06-02 15:59:55 +02:00
tools tree wide: clippy lint fixes 2022-06-02 15:59:55 +02:00
auth.rs rust fmt for pbs src 2022-04-14 14:03:46 +02:00
auth_helpers.rs rust fmt for pbs src 2022-04-14 14:03:46 +02:00
client_helpers.rs make pbs_tools::cert not depend on pbs-buildcfg 2021-09-29 14:11:26 +02:00
lib.rs move src/shared_rate_limiter.rs to src/tools/shared_rate_limiter.rs 2022-02-14 14:57:56 +01:00
rrd_cache.rs rust fmt for pbs src 2022-04-14 14:03:46 +02:00
traffic_control_cache.rs rust fmt for pbs src 2022-04-14 14:03:46 +02:00