$ ./guess_the_languageLinux CLI
Linux CLI · medium · #9

What are the permissions after the chmod?

$ ls -l report
-rw-rw-rw- 1 bob staff 512 Jan 9 report
$ chmod u+x,g-w,o=r report
  1. -rwxr--r--
  2. -rwxrw-r--
  3. -rwxr--rw-
  4. -rw-r--r--
The owner gains x, the group loses w, and others are set to exactly r.
Play Linux CLI ▸