diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm index 6c26f209..67a912bd 100644 --- a/PVE/CLI/pveam.pm +++ b/PVE/CLI/pveam.pm @@ -170,7 +170,7 @@ __PACKAGE__->register_method ({ my $cfg = PVE::Storage::config(); - PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $template); + PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $template, 'vztmpl'); my $abs_path = PVE::Storage::abs_filesystem_path($cfg, $template);