diff options
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 7ab038273..c1352146f 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -341,9 +341,9 @@ sub write_fstab($;$$) { isExt2($_) and ($freq, $passno) = (1, ($_->{mntpoint} eq '/') ? 1 : 2); isNfs($_) and $dir = '', $options = $_->{options} || 'ro,nosuid,rsize=8192,wsize=8192'; - isFat($_) and $options = $_->{options} || "user,exec"; + isFat($_) and $options = $_->{options} || "user,exec,umask=0"; - my $dev = isLoopback($_) ? + my $dev = isLoopback($_) ? ($_->{mntpoint} eq '/' ? "/initrd/loopfs$_->{loopback_file}" : loopback::file($_)) : ($_->{device} =~ /^\// ? $_->{device} : "$dir$_->{device}"); |