summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-05-13 14:36:01 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-05-13 14:36:01 +0000
commit613fcd7af22bfec6c5580528079523d8aac9113b (patch)
tree772941564cab76839e70e4f33d42f6804d1a1ebe
parentf2a3b78b29df3bc9952521cfdcbb9aa2afeed984 (diff)
downloaddrakx-613fcd7af22bfec6c5580528079523d8aac9113b.tar
drakx-613fcd7af22bfec6c5580528079523d8aac9113b.tar.gz
drakx-613fcd7af22bfec6c5580528079523d8aac9113b.tar.bz2
drakx-613fcd7af22bfec6c5580528079523d8aac9113b.tar.xz
drakx-613fcd7af22bfec6c5580528079523d8aac9113b.zip
- enable acl by default on ext3/4 fs
- enable user_xattr on home for ext2 too
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/format.pm12
-rw-r--r--perl-install/install/NEWS3
3 files changed, 14 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 2709b9df0..cca0cf9c8 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- enable acl by default on ext3/4 fs
+- enable user_xattr on home for ext2 too
+
Version 13.25 - 11 May 2010
- bugfix for draklive-install: use "short" locale name when matching
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 9caa4f45f..3c1c9d346 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -271,10 +271,14 @@ sub formatMount_part {
}
#- setting user_xattr on /home (or "/" if no /home)
- if (!$part->{isMounted} && member($part->{fs_type}, qw(ext3 ext4))
- && ($part->{mntpoint} eq '/home' ||
- !fs::get::has_mntpoint('/home', $all_hds) && $part->{mntpoint} eq '/')) {
- run_program::run('tune2fs', '-o', 'user_xattr', devices::make($part->{real_device} || $part->{device}));
+ #- setting acl everywhere
+ if (!$part->{isMounted} && member($part->{fs_type}, qw(ext2 ext3 ext4))) {
+ my $default_options = 'acl';
+ if ($part->{mntpoint} eq '/home' ||
+ (!fs::get::has_mntpoint('/home', $all_hds) && $part->{mntpoint} eq '/')) {
+ $default_options .= ',user_xattr';
+ }
+ run_program::run('tune2fs', '-o', $default_options, devices::make($part->{real_device} || $part->{device}));
}
fs::mount::part($part, 0, $wait_message);
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 4f442afca..0e86183b5 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- enable acl by default on ext3/4 fs
+- enable user_xattr on home for ext2 too
+
Version 13.24 - 9 May 2010
- include btrfs and crc32c modules in install (#59068)