Hi list, I've been tinkering with filesystem ACLs. I get mysterious behavior (read: I think it's a bug) when I create files over scp/sftp in a directory with default acl. The newly created file loses the mask acl. This is on SLES9, kernel 2.6.5-7.151-default, OpenSSH_3.8p1 filesystem is reiserfs 3.6.13 the target directory has acl rwx and default acl rw for isclib: isclib@venus:/ftphome/ftpusr3/get/caf> ls -ld . dr-xrws---+ 2 ftpusr3 cafftp 48 2005-05-16 16:05 . isclib@venus:/ftphome/ftpusr3/get/caf> getfacl . # file: . # owner: ftpusr3 # group: cafftp user::r-x user:isclib:rwx group::rwx mask::rwx other::--- default:user::r-- default:user:isclib:rw- default:group::rw- default:mask::rw- default:other::--- If i create a file locally the permissions and ACLs come out correct: isclib@venus:/ftphome/ftpusr3/get/caf> touch test.local isclib@venus:/ftphome/ftpusr3/get/caf> la test.local -r--rw----+ 1 isclib cafftp 0 2005-05-16 16:15 test.local isclib@venus:/ftphome/ftpusr3/get/caf> getfacl test.local # file: test.local # owner: isclib # group: cafftp user::r-- user:isclib:rw- group::rw- mask::rw- other::--- but when I create the file via scp, the resulting acl for mask is empty, and my effective acl is no access: agould@isis:~/tmp> scp testfile isclib@venus:/ftphome/ftpusr3/get/caf/test.scp testfile 100% 0 0.0KB/s 00:00 isclib@venus:/ftphome/ftpusr3/get/caf> la test.* -r--rw----+ 1 isclib cafftp 0 2005-05-16 16:15 test.local -r--------+ 1 isclib cafftp 0 2005-05-16 16:29 test.scp isclib@venus:/ftphome/ftpusr3/get/caf> getfacl test.scp # file: test.scp # owner: isclib # group: cafftp user::r-- user:isclib:rw- #effective:--- group::rw- #effective:--- mask::--- How can I get around this problem? -- -ashley Did you try poking at it with a stick?