BTO120 Assign 2.2-Representing Permissions

BTO120 Assign 2.2-Representing Permissions - BTO120 Assign...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
BTO120 Assign 2.2 The communities are: User (or ‘u’ ) - the file’s owner. Group (or ‘g’) – the file’s group. Other (or ‘o’) – all other users of the system. Notice that they go from the smallest (1 user) to medium-size (a group of users) to largest (all other users on the system). In order to make the ‘User’ and ‘Group’ communities mean something, each file has to be owned by a particular user, and be placed into a particular group. By default, a file is owned by the person that created it, but this can be changed (using the ‘chown’ command). You can see your current user ID and group ID using the ‘id’ command. You can see a file’s owner and group using the ‘ls –l’ command. Take a look at your user and group IDs. Each of the communities has three separate permissions which may be turned on (granted or turned off (denied). These permissions are: Permission: Read Write Execute Letter: r w x Value: 4 2 1 Read permission means that a community may read a file. For directories, this means
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

BTO120 Assign 2.2-Representing Permissions - BTO120 Assign...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online