> Mounting as ext4 enables acl by default, but mounting as ext3 doesn't (see the linux kernel documentation).
For the record, I cannot reproduce this as I already said in my earlier comment when I tried it with ext2:
sudo modprobe scsi_debug sudo mkfs.ext3 /dev/sdb sudo mount /dev/sdb /media/ sudo touch /media/test.txt sudo setfacl -m u:www-data:r /media/test.txt
This all works, and I correctly get $ sudo getfacl /media/test.txt user::rw- user:www-data:r-- [...]
> Mounting as ext4 enables acl by default, but mounting as ext3 doesn't (see the linux kernel documentation).
For the record, I cannot reproduce this as I already said in my earlier comment when I tried it with ext2:
sudo modprobe scsi_debug
sudo mkfs.ext3 /dev/sdb
sudo mount /dev/sdb /media/
sudo touch /media/test.txt
sudo setfacl -m u:www-data:r /media/test.txt
This all works, and I correctly get
$ sudo getfacl /media/test.txt
user::rw-
user:www-data:r--
[...]