Professional Documents
Culture Documents
The_o0ne@hotmail.com
3 ............................. ................................ ................................
4 ............................. ................................ ................................
4 ....................... ................................ ................................
) (*.NIX 5 .........................
9 ............... ................................
) (CHMOD 10 ........................
)10 ........... ................................ ................................ (chmod
12 ................ ................................ ................................ ................................
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 :
[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
).(file1
) (:
10 14
the_o0ne@hotmail.com
The-oNe
The_o0ne@hotmail.com
) : (u ) (user .
) : (g ) (group
.
) : (o ) (other
.
) : (a ) (all
.
:
) : (+
.
) : (-
.
.
)=( :
) (.
. :
:
file
ug+rw
o-x
)
(:
11 14
the_o0ne@hotmail.com
The-oNe
The_o0ne@hotmail.com
file
g=r
) (g+rw
. ) (+ ).(-
)
(J ) (octal value
) (0 ) .(7
:
4
2
1
)(r
)(w
)(x
:
+ = 5 = 1+4
) (5.
:
filename
644
) (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
:
filename
311
13 14
the_o0ne@hotmail.com
The-oNe
The_o0ne@hotmail.com
.
.
The_o0ne@hotmail.com
14 14
the_o0ne@hotmail.com