Home > Unix > UNIX – Lesson 016 – Secure and share your information – Intro

UNIX – Lesson 016 – Secure and share your information – Intro


There are three types of access for each file and directory :

Read files contents can be examined directories contents can be examined
Write files contents can be changed directories contents can be changed
eXecute files file can be used as a command directories can become current working directory

Some examples of file’s permissions are:

-rwxr–r– 1 xarabas admins 6 Aug 24 11:48 test.sh
This describes a file that is readable, writable, and executable by the user and readable by the group and others.

-rwxr-xr-x 1 xarabas admins 6 Aug 24 11:48 test.sh
This describes a file that is readable, writable, and executable by the user, readable and executable by the group and others.

-rwx—— 1 xarabas admins 6 Aug 24 11:48 test.sh
This describes a file that is readable, writable and executable only by the user.

Categories: Unix
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: