ext3 root fs:
$ sudo dumpe2fs -h /dev/sda1 | grep -E 'mount options|created' dumpe2fs 1.42.5 (29-Jul-2012) Default mount options: (none) Filesystem created: Thu Sep 17 21:56:42 2009
ext4 homedir:
$ sudo dumpe2fs -h /dev/md0 | grep -E 'mount options|created' dumpe2fs 1.42.5 (29-Jul-2012) Default mount options: (none) Filesystem created: Mon Jan 3 14:13:17 2011
ACLs are broken on ext3 root fs:
$ touch /tmp/test.txt $ getfacl /tmp/test.txt getfacl: Removing leading '/' from absolute path names # file: tmp/test.txt # owner: tristan # group: tristan user::rw- group::rw- other::r--
$ setfacl -m u:tristan:r /tmp/test.txt setfacl: /tmp/test.txt: Operation not supported $
But working on ext4 homedir:
$ touch ~/test.txt $ getfacl ~/test.txt getfacl: Removing leading '/' from absolute path names # file: home/tristan/test.txt # owner: tristan # group: tristan user::rw- group::rw- other::r--
$ setfacl -m u:tristan:r ~/test.txt $ echo $? 0 $
ext3 root fs:
$ sudo dumpe2fs -h /dev/sda1 | grep -E 'mount options|created'
dumpe2fs 1.42.5 (29-Jul-2012)
Default mount options: (none)
Filesystem created: Thu Sep 17 21:56:42 2009
ext4 homedir:
$ sudo dumpe2fs -h /dev/md0 | grep -E 'mount options|created'
dumpe2fs 1.42.5 (29-Jul-2012)
Default mount options: (none)
Filesystem created: Mon Jan 3 14:13:17 2011
ACLs are broken on ext3 root fs:
$ touch /tmp/test.txt
$ getfacl /tmp/test.txt
getfacl: Removing leading '/' from absolute path names
# file: tmp/test.txt
# owner: tristan
# group: tristan
user::rw-
group::rw-
other::r--
$ setfacl -m u:tristan:r /tmp/test.txt
setfacl: /tmp/test.txt: Operation not supported
$
But working on ext4 homedir:
$ touch ~/test.txt test.txt
$ getfacl ~/test.txt
getfacl: Removing leading '/' from absolute path names
# file: home/tristan/
# owner: tristan
# group: tristan
user::rw-
group::rw-
other::r--
$ setfacl -m u:tristan:r ~/test.txt
$ echo $?
0
$