I am trying to get new files to inherit their permissions from their parent directory. So, as a test, I created a directory and set desired permissions:
Code:
mkdir content
chmod 740 content
chown ken:dev content
Now, if I cd to the new directory and create a test file, I am expecting the file to have 740 permissions, but it doesn't.
Code:
cd content
> test.txt
ls -l
-rw-rw-r--. 1 root root 0 Oct 7 14:02 test.txt
What is causing the other:read access and how do I get rid of it?