From f454167eb2274c088f28b1d198ad149b9f84ea98 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 1 Nov 2010 22:49:17 +0000 Subject: check dir authorization for umount --- iurt_root_command | 1 + 1 file changed, 1 insertion(+) (limited to 'iurt_root_command') diff --git a/iurt_root_command b/iurt_root_command index ce62f5c..6f07e7d 100755 --- a/iurt_root_command +++ b/iurt_root_command @@ -354,5 +354,6 @@ sub untar { sub umount { my ($_run, $dir) = @_; + check_path_authorized($dir) or return; return !system("umount", $dir); } -- cgit v1.2.1