
mkdir:ai:846e2
Create a common directory for the users martin, milan and roman in the FINAL directory named spolocny_adresar *When creating, do not use sudo before the command. The directory named spolocny_adresar must meet the following requirements: a) The user and the group that owns the directory (user owner, group owner) must have rwx permissions set and the others (others) none b) Users martin, milan and roman knew how to get into this directory and create files there. c) Files created in this directory can be overwritten by users. d) Only the user who created them can delete files in this directory. View the permissions for the directory and redirect the output to a file called task8
$ mkdir -m 770 FINAL/spolocny_adresar && chown martin:martin FINAL/spolocny_adresar && chmod +t FINAL/spolocny_adresar
try on your machine
Create a directory named spolocny_adresar with rwx permissions for user owner and group owner, and no permissions for others. Set the sticky bit on the directory to allow users martin, milan, and roman to create files in it. Only the user who created the files can delete them. View the permissions for the directory and redirect the output to a file called task8.
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:
- Create a common directory for the users martin, milan and roman in the FINAL directory named spolocny_adresar *When creating, do not use sudo before the command. The directory named spolocny_adresar must meet the following requirements: a) The user and the group that owns the directory (user owner, group owner) must have rwx permissions set and the others (others) none b) Users martin, milan and roman knew how to get into this directory and create files there. c) Files created in this directory can be overwritten by users. d) Only the user who created them can delete files in this directory. View the permissions for the directory and redirect the output to a file called task8?