lab 4-uli101

lab 4-uli101 - file in the first field with an extra...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 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. a file is owned by the person that created it, but this can be changed (using the 'chown' command). very user of a Unix system is in a group. Files created by a user are in the same group as the user, but that can also be changed (using the 'chgrp'command ls -l' command =You can see your current user ID and group ID using the 'id' command. You can see a file's owner and group Permission Letter Value Read r 4 Write w 2 Execute x 1 the symbolic permission: --------- represents all permissions being turned OFF. This pattern: rwxrwxrwx ...means that all permissions are turned ON. rw-r-----= Shows that the User (first three characters) has read and write permission users in the Group (middle three characters) have only read permission The detailed listings produced by 'ls -l' include the permissions of each
Background image of page 1

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

View Full Document Right Arrow Icon
Background image of page 2
Background image of page 3

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

View Full Document Right Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: file in the first field, with an extra character at the start which is used to represent the file type: '-' 'for a regular file, 'd' for a directory, If the permissions on a file were set so that everyone could read from or write to the file, how would that be represented symb o Sheet1 Page 2 rw-rw-rw-Write the symbolic representation of a permission setting where the user could read, write, or execute the file rwxr-x--x ere's another example: a file has '644' permission. This works out to: User: 6 = 4 (r) + 2 (w) = rw-Group: 4 = 4 (r) = r--Other: 4 = 4 (r) = r--Therefore, 644 in octal notation is equivalent to 'rw-r--r--' in symbolic representation. communities (u, g, o, or a for all)- an operation (- to remove, + to add, = to set)- permissions (r, w, or x) Sheet1 Page 3 Sheet1 Page 4 group members could read or execute only and others could only execute the file....
View Full Document

{[ snackBarMessage ]}

Page1 / 4

lab 4-uli101 - file in the first field with an extra...

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

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