You are a programmer, you are on your way home from your boring work when suddenly a psychopath hits you on the head, kidnaps you and brings you to their secret den. You wake up in a dark room with only a laptop inside. You just located the door when you hear an electronically distorted voice: "Look at the laptop screen".
You look at the screen and you just see a file manager window; the opened folder have just one empty file inside:
The voice continues: "If you manage to create an empty folder the door will open and you will be free." So you think: "It's way too simple!". You left-click on the blank area, the contextual menu appears:
Here we are! The "create new..." menu item is disabled, so you cannot create new files or folders! But you know there are other methods to create a folder, after all you are a programmer, aren't you? Maybe You can just turn the file into a shell script with the right commands and execute it? You right-click on the file to see which text editors are installed:
Here we go again! The psychopath disabled the "open" and "open with..." menu items too. Sure enough, the "create new...", "open" and "open with..." are disabled also in the "File" option of the toolbar; the other items in the contextual menus work, though. You try to open the application menu, but it does not work either. You start typing something furiously but wait... the keyboard does not even work! You also cannot navigate into a different folder. How can you create a folder and escape to the freedom?
Summary of the constraints and clarifications:
- you cannot use the keyboard, only the mouse.
- both mouse buttons work (left and right), but some contextual menu items are disabled.
- all the other options work as expected.
- there is a standard suite of pre-installed software in the laptop.
- you cannot run any program from the application menu.
- the file manager is showing a folder with an empty file inside (0 Bytes).
- you cannot navigate in another location of the filesystem.
- you cannot modify the content of the file.
- the goal is to create an empty folder, the name of that folder does not matter.
- the empty folder has to be created inside the given folder: emptying the given folder is not enough.
- the screenshots are from Debian with the PCManFM file manager, but I'm pretty sure it also works with Ubuntu and other file managers (nautilus, nemo...). I'm not sure it works with other operating systems though.