Home > OS >  The group's permissions problems for bosses
The group's permissions problems for bosses

Time:09-16

1 in the/home directory to create a subdirectory called qwe, and set the permissions according to the requirements of the following:/home/* * * group belongs to JSJX
2 the directory for all users to read write executable
3 * * * directory in/home/file created by the group is set to automatically JSJX
4 the files in the directory owner can only be deleted, others do not delete

CodePudding user response:

1, the mkdir/home/qwe
Chown. JSJX/home/qwe
In 234, chmod 3777/home/qwe

Nothing to tell 1
Two problems are RWX corresponding to 421 points, and execution is 777
The problem of 3 point is a function of sgid, when sgid set directory, can let the user created under the directory of files and directories, have the same user group setting, and this directory sgid corresponding value is 2
Is sticky viscous four problems: unless the owner of the directory and the root user, others can't delete the directory and the file below it, its corresponding value is 1
Comprehensive 234 permissions, access Numbers for 3777
  • Related