I have a scenario where my ACLs are as follows :
$ getfacl SCD
# file: SCD
# owner: jscdetst
# group: sad
user::rwx
user:saddev:rwx
group::rwx
mask::rwx
other::r-x
default:user::rw-
default:group::r--
default:mask::rw-
default
ther::---
Now when i go inside SCD directory and create a sample file f it shows me owning groups having rw- permissions..where as in the above ACL I had defined default group acl to be just r--.
$ cd SCD
$ touch f
$ ls -lrt f
-rw-rw----+ 1 jscdetst sad 0 Sep 14 11:52 f
More strangely, when I do getfacl f; it shows me the picture i want..but this seems to be not in consistency with what ls -lrt is showing me above :
$ getfacl f
# file: f
# owner: jscdetst
# group: sad
user::rw-
group::r--
mask::rw-
other::---
Why is owning group permissions different in ls -lrt and getfacl.
And if so, what are the real permissions?