diff --git a/root/etc/e-smith/db/configuration/defaults/pydio/Metastore b/root/etc/e-smith/db/configuration/defaults/pydio/Metastore new file mode 100644 index 0000000..18c5e90 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/pydio/Metastore @@ -0,0 +1 @@ +xattr diff --git a/root/etc/e-smith/templates/etc/fstab/052EnableXattr b/root/etc/e-smith/templates/etc/fstab/052EnableXattr new file mode 100644 index 0000000..11bd681 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fstab/052EnableXattr @@ -0,0 +1,9 @@ +{ + # Change usrquota,grpquota,acl => usrquota,grpquota,acl,user_xattr for / file system + @lines = map { + /\s\/\s+ext[234]\s+usrquota,grpquota,acl\s/ && s/usrquota,grpquota,acl/usrquota,grpquota,acl,user_xattr/; + /^\/dev\/main\/.*\s+ext[234]\s+usrquota,grpquota,acl\s/ && s/usrquota,grpquota,acl/usrquota,grpquota,acl,user_xattr/; + $_ + } @lines; + ""; +}