Linux lab report - file permissions management

Component 1. Set file permissions

● Create a directory test under the user1 user's home directory, create the test directory empty file file1. And displays file information in the form of long division, note the file permissions and belongs to users and groups.

 

● file file1 set permissions so that other users can write to this file. And verify them.

 

● Read permission to cancel the same group of users to this file. Verify them.

 

● digital form set permissions for the file file1, owner readable, writable, executable; other users and group of users only read and execute permissions. Verify them after setup is complete.

 

● Change the file permissions file1 in digital form, so that owners can only read this file, no other user does not have permission. Verify them.

 

● add write permissions for other users. Verify them.

 

● back to the parent directory, permission to view the test.

 

● write access to this directory for other users.

 

Component 2. Changes file owner

● your users and groups to view their files in the directory test.

 

● The test directory of all files and their owners under the changed bin, belongs to the group into a daemon. Verify them.

● Delete files and directories under test.

Published 66 original articles · won praise 126 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_44762986/article/details/104913294