diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-04-23 08:56:16 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-04-23 08:56:16 +0000 |
commit | 41d0ac7a42e354ebd0150eb5a85bfafef39e8486 (patch) | |
tree | a6c4baca65ba75dc5255ece37ed482f644bd0d53 /perl-install | |
parent | 9f0085d9d53dc39c1b1617a343d2929dc2660686 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/fs/mount_options.pm | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index e3b5d3fd2..d303878c1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- don't set umask=0 by default on windows partitions in 'secure' level. + Version 12.31 - 22 April 2009 - diskdrake: 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')) { |