chmod will not drwxrw----

If I:
chmod 740 Documents/
Documents/ = drwxr-----

If I:
chmod 750 Documents/
Documents/ = drwxr-x---

How does that work?

I want to achieve drwxrw----

From the man page of man chmod (Linux):

So you just have to add up the digits for each permission you want. For rw- that would be 4 (read) + 2 (write) = 6

awesome explanation pludi .. :slight_smile:

Cool. I still don't know what's going on.

chmod 760 Documents

This will achieve the drwxrw---- , but setting the "w" without setting the "x" on a directory seems very weird

Let me guess: you expected a complete solution to your problem, without any thinking required on your part. If so, you've come to the wrong place. We try to encourage & train problem solving, giving hints at the way to reach a solution.