summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-23 08:56:16 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-23 08:56:16 +0000
commit41d0ac7a42e354ebd0150eb5a85bfafef39e8486 (patch)
treea6c4baca65ba75dc5255ece37ed482f644bd0d53 /perl-install/fs
parent9f0085d9d53dc39c1b1617a343d2929dc2660686 (diff)
downloaddrakx-41d0ac7a42e354ebd0150eb5a85bfafef39e8486.tar
drakx-41d0ac7a42e354ebd0150eb5a85bfafef39e8486.tar.gz
drakx-41d0ac7a42e354ebd0150eb5a85bfafef39e8486.tar.bz2
drakx-41d0ac7a42e354ebd0150eb5a85bfafef39e8486.tar.xz
drakx-41d0ac7a42e354ebd0150eb5a85bfafef39e8486.zip
don't set umask=0 by default on windows partitions in 'secure' level
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount_options.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 9e3f5e767..1413fc8a6 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -225,13 +225,13 @@ sub set_default {
}) if $part->{is_removable};
put_in_hash($options, {
- 'umask=0' => $opts{security} <= 3,
+ 'umask=0' => $opts{security} <= 1,
'iocharset=' => $opts{iocharset}, 'codepage=' => $opts{codepage},
});
}
if ($part->{fs_type} eq 'ntfs') {
put_in_hash($options, { ro => 1, 'nls=' => $opts{iocharset},
- 'umask=0' => $opts{security} < 3, 'umask=0022' => $opts{security} < 4,
+ 'umask=0' => $opts{security} < 1, 'umask=0022' => $opts{security} < 2,
});
}
if (fs::type::can_be_this_fs_type($part, 'iso9660')) {