
chmod:ai:21a01
Which command line makes a directory dir into which anyone can put a file, but in which nobody can see the names of the files that are there?
$ chmod 111 dir
try on your machine
This command changes the permissions of the directory 'dir' so that anyone can create files in it, but only the owner can see the contents of the directory.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- Which command line makes a directory dir into which anyone can put a file, but in which nobody can see the names of the files that are there?