You are on page 1of 14

The-oNe

The_o0ne@hotmail.com


3 ............................. ................................ ................................
4 ............................. ................................ ................................
4 ....................... ................................ ................................

) (*.NIX 5 .........................
9 ............... ................................
) (CHMOD 10 ........................
)10 ........... ................................ ................................ (chmod
12 ................ ................................ ................................ ................................

14 ........................... ................................ ................................

2 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com


.

.
) (*.nix .
.

.

.
.
.
The-oNe
The_o0ne@hotmail.com

3 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com



.

.
. ) (*.nix
.




.

) (root
) (.

4 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

) (*.nix
)(*.nix

) (*.nix
) sun solaris,
.(redhat ,openBSD


) (98,me,2000,xp,NT
.

) (2000,xp,NT
) (98,me

.
) (2000,xp,nt
)(*.nix
.
) (NTFS
) .(FAT )(NTFS

).(FAT

) (file permission
.
) (*.nix ) (ls
) (l :

512 Sep 25 22:16 dir1


512 Dec 10 03:20 existenz
512 Dec 10 03:25 moqtel
512 Dec 10 03:15 the-one
512 Dec 10 03:30 welcome

[the-one@localhost the-one]$ ls -l
total 5
drwxr-xr-x 3 toleg denizens
drwxr-xr-x 2 toleg denizens
drwxr-xr-x 3 toleg denizens
drwxr-xr-x 2 toleg denizens
drwxr-xr-x 2 toleg denizens

) (ls )) (l
( .
:

5 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

:
:
) (d ) (- ) (d
) (- .
:
. .
:

.
.
:
.
.

) (r ) (w ) (x ) (- :
6 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

r
w
x
-

)(read
)(write
)(execute
.

) .(rwx

:
: ) (d .
: ) (rwx
) .
(.
(r-x) :
.
(r-x) : .

.
) (.

)(r

)(w



.



) (shell script ) c
.(compiled file

)(x



) (ls

) (cd
) (x
.
) (ls ) (l
) (x
.

.




7 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

.
: .

):(r
o .
o .
o .
o .
):(r
o .
o .
o .
):(w
o .
o .
o .
o .
):(w
o .
o .
o .
):(x
o .
o ) (r
.
o ).(w
o )(w
.
):(x
o .
o .
o
.

8 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com



) (/etc/profile )) (umask
) .( (man umask
.

Drwxr-xr-x
-rw-r--r--

9 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

) (chmod
) (chmod :
) (chmod
.

. :
[the-one@localhost the-one]$ chmod mode_permission filename
) (mode_permission
. :
)(.
.
)(chmod


file1

ug+rw

[the-one@localhost the-one]$ chmod

).(file1
) (:

10 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

) : (u ) (user .
) : (g ) (group
.
) : (o ) (other
.
) : (a ) (all

.


:
) : (+
.
) : (-
.

.
)=( :
) (.

. :
:
file

ug+rw

[the-one@localhost the-one]$ chmod

) (ug+rw ) (ug ) (rw


. ) (+
) .

(.
:
file

o-x

[the-one@localhost the-one]$ chmod

)
(:
11 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

file

g=r

[the-one@localhost the-one]$ chmod

) (g+rw

. ) (+ ).(-


)
(J ) (octal value
) (0 ) .(7
:

4
2
1

)(r
)(w
)(x


:
+ = 5 = 1+4
) (5.


:
filename

644

[the-one@localhost the-one]$ chmod

) (644

. ) (6
) + = ( 6 = 2 + 4
:

12 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

7
6
5
4
3
2
1
0

:

:
filename

540

[the-one@localhost the-one]$ chmod


:
filename

311

[the-one@localhost the-one]$ chmod

13 14
the_o0ne@hotmail.com

The-oNe
The_o0ne@hotmail.com

.

.

The_o0ne@hotmail.com

14 14
the_o0ne@hotmail.com

You might also like