Skip to content

Latest commit

 

History

History

0x01-shell_permissions

Shell permissions

Project aims to teach about man pages, permissions (owner, group and other) of files and directories in Shell

Files

All of the following files are scripts:

Filename Description
0-iam_betty Changes your user ID to betty.
1-who_am_i Prints the effective userid of the current user.
2-groups Prints all the groups the current user is part of.
3-new_owner Changes the owner of the file hello to the user betty.
4-empty Creates an empty file called hello.
5-execute Adds execute permission to the owner of the file hello.
6-multiple_permissions Adds executive permission to the owner and the group owner, and reads permission to other users, to the file hello.
7-everybody Adds execution permission to the owner, the group owner and the other users, to the file hello.
8-James_Bond Write a script that sets the permission to the file hello to other users.
9-John_Doe Sets the -rwxr-x-wx permissions to the file hello.
10-mirror_permissions Sets the mode of the file hello the same as olleh's mode.
11-directories_permissions Adds execute permission to all subdirectoires of the current directory for the owner, the group of the owner and all the other users.
12-directory_permissions Creates a directory called dir_holberton with permissions 751 in the working directory.
13-change_group Changes the group owner to school for the file hello.