What does ls -l show for the file afterwards?
chmod 644 notes.txt
-rw-r--r---rwxr--r---rw-rw-r---rw-r-----
6 = read+write for the owner, 4 = read-only for group and others.
Play Linux CLI ▸
ls -l show for the file afterwards?chmod 644 notes.txt
-rw-r--r---rwxr--r---rw-rw-r---rw-r-----