I've read here that in order to create a file inside a directory in Linux, one should have write permission to that directory. However when examining this (in Ubuntu Server 14) it did not worked.
osboxes@osboxes:~$ mkdir mydir osboxes@osboxes:~$ chmod 200 mydir osboxes@osboxes:~$ ls -l d-w------- 2 osboxes osboxes 4096 May 25 09:52 mydir osboxes@osboxes:~$ touch mydir/myfile touch: cannot touch 'mydir/myfile': Permission denied
only after adding execute permissionto mydir I could
touch that file. So execute permissions are also needed in order to
touch a file?
EDIT: from @Pablo Bianchi ref I learn that
The ability to rename files in the directory, create new files, or delete existing files, if you also have Execute permissions. If you don't have execute perms, then write perms are meaningless."
So I guess that execute perms are ndeed required in order to use write perms to create new files.