Challenge: User1 has a world-writable directory. User2 has umask 077 set and writes into User1’s world writable directory. User1 can’t read those files.
Workaround: Short of User 2 setting his umask properly, set a default ACL on the directory:
setfacl -d -m user::rw,group::rw,other::r /path/to/User1/incoming/
Leave a Reply