diff options
author | Olivier Blin <blino@mageia.org> | 2010-11-01 22:49:17 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2010-11-01 22:49:17 +0000 |
commit | f454167eb2274c088f28b1d198ad149b9f84ea98 (patch) | |
tree | 431a290cd099a4dfa1b369e7eab4bca9b2e30126 /iurt_root_command | |
parent | 94c683bbaac00cdec9aaf1b781a5606daec243dd (diff) | |
download | iurt-f454167eb2274c088f28b1d198ad149b9f84ea98.tar iurt-f454167eb2274c088f28b1d198ad149b9f84ea98.tar.gz iurt-f454167eb2274c088f28b1d198ad149b9f84ea98.tar.bz2 iurt-f454167eb2274c088f28b1d198ad149b9f84ea98.tar.xz iurt-f454167eb2274c088f28b1d198ad149b9f84ea98.zip |
check dir authorization for umount
Diffstat (limited to 'iurt_root_command')
-rwxr-xr-x | iurt_root_command | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |