3 # Returns a string of EXT attributes for some file
5 require './file-lib.pl';
7 &switch_acl_uid_and_chroot();
8 print "Content-type: text/plain\n\n";
9 if (!&can_access($in{'file'})) {
10 print $text{'facl_eaccess'},"\n";
13 $out = `lsattr -d '$in{'file'}' 2>&1`;
14 $out =~ s/^lsattr.*\n//;
15 if ($? || $out !~ /^(\S+)\s/) {
21 print join("", grep { $_ ne '-' } @a),"\n";