From 7f178e30a30842d3a2eb91138e102971f02f4433 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 25 Mar 2008 16:11:49 +0000 Subject: - use umask=0 by default on vfat (#39315) --- perl-install/fs/mount_options.pm | 2 +- perl-install/install/NEWS | 1 + perl-install/install/steps_interactive.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 3cd796d64..3eacdfb4a 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -226,7 +226,7 @@ sub set_default { }) if $part->{is_removable}; put_in_hash($options, { - 'umask=0' => $opts{security} < 3, 'umask=0022' => $opts{security} < 4, + 'umask=0' => $opts{security} <= 3, 'iocharset=' => $opts{iocharset}, 'codepage=' => $opts{codepage}, }); } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f0d1ed684..8e7bbbac6 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- use umask=0 by default on vfat (#39315) - root/user password: o force the password to be utf8 (#23273) diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 9fcc91370..239b6c7bf 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -1037,7 +1037,7 @@ try to force installation even if that destroys the first partition?")); sub check_security_level { my ($o, $security) = @_; - if ($security > 2 && find { $_->{fs_type} eq 'vfat' } @{$o->{fstab}}) { + if ($security > 3 && find { $_->{fs_type} eq 'vfat' } @{$o->{fstab}}) { $o->ask_okcancel('', N("In this security level, access to the files in the Windows partition is restricted to the administrator.")) or return 0; } return 1; -- cgit v1.2.1