summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/drakguard b/bin/drakguard
index f1d3776..bb6cc75 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -296,11 +296,11 @@ gtkadd($w->{window},
$w->show;
# FIXME: bogus check: if ACLs are disabled everywhere but in /unused/path, it's OK...
-if (cat_('/boot/config') =~ /_FS_POSIX_ACL=y/ || grep { $_ && !/acl/ } chomp_(cat_($fstab_file)) && grep { $_ && !/^#/ && m/ext/ } chomp_(cat_($fstab_file))) {
+if (cat_('/boot/config') =~ /_FS_POSIX_ACL=y/ && grep { $_ && !/acl/ && !/^#/ && m/ext[23]|reiserfs/ } chomp_(cat_($fstab_file))) {
$acl_active = 1;
$in->ask_yesorno(N("Warning"), N("The support for Access Control Lists must be enabled in order to use the Block programs feature.\nDo you want to enable it now?", $acl_active = 1)) or $acl_active = 0;
if ($acl_active) {
- my @ext_lines = grep { $_ && m/ext/ } chomp_(cat_($fstab_file));
+ my @ext_lines = grep { $_ && m/ext[23]|reiserfs/ && !/^#/ } chomp_(cat_($fstab_file));
foreach my $line (@ext_lines) {
my ($flag) = $line =~ /^.+\s.+\s(ext(\w)\s(\w*))\s/ or next;
$line =~ s/ext(\w)\s(\w*)\s/$flag,acl /g;