diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-13 17:44:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-13 17:44:49 +0000 |
commit | 8b13e710716d6256664c5376f8e6e3822888f9db (patch) | |
tree | fe6a0209f0b7ae4d099681b3c33d241ead28c9da /perl-install/install_steps_interactive.pm | |
parent | d7d79789800c9d64ade1bd5370c03763f97bc891 (diff) | |
download | drakx-backup-do-not-use-8b13e710716d6256664c5376f8e6e3822888f9db.tar drakx-backup-do-not-use-8b13e710716d6256664c5376f8e6e3822888f9db.tar.gz drakx-backup-do-not-use-8b13e710716d6256664c5376f8e6e3822888f9db.tar.bz2 drakx-backup-do-not-use-8b13e710716d6256664c5376f8e6e3822888f9db.tar.xz drakx-backup-do-not-use-8b13e710716d6256664c5376f8e6e3822888f9db.zip |
add a warning when choosing security level > 2 and having a windows partition
(since in that case we won't have umask=0) (bugzilla #4731)
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 37f7cf09e..e94058163 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -1246,6 +1246,11 @@ sub miscellaneous { if ($o->{meta_class} ne 'desktop' && !$o->{isUpgrade}) { require security::level; security::level::level_choose($o, \$o->{security}, \$o->{libsafe}, \$o->{security_user}); + + if ($o->{security} > 2 && find { isFat($_) } @{$o->{fstab}}) { + $o->ask_okcancel('', N("In this security level, access to the files in the Windows partition is restricted to the administrator.")) + or goto &miscellaneous; + } } install_steps::miscellaneous($o); |